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 > |