Baseline Widely available
Die schreibgeschützte type
-Eigenschaft des SVGScriptElement
-Interfaces spiegelt das type
-Attribut des gegebenen <script>
-Elements wider.
Ein String.
Beispiele Zugriff auf dietype
-Eigenschaft
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="200">
<script id="myScript" href="script.js" type="text/javascript"></script>
</svg>
const scriptElement = document.getElementById("myScript");
// Access the type property
console.log(scriptElement.type); // Output: "text/javascript"
Spezifikationen Browser-Kompatibilität MDN-Feedback-Box War diese Ãbersetzung hilfreich?
Diese Seite wurde automatisch aus dem Englischen übersetzt.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4