HTMLTextAreaElement: type-Eigenschaft
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since Juli 2015.
Die schreibgeschützte type
-Eigenschaft der HTMLTextAreaElement
-Schnittstelle gibt den String "textarea"
zurück.
Wert
Der String "textarea"
.
Beispiel
js
const textArea = document.querySelector("textarea");
console.log(textArea.type); // "textarea"
Spezifikationen
Specification |
---|
HTML> # dom-textarea-type-dev> |
Browser-Kompatibilität
Loading…