HTMLTextAreaElement.idl [plain text]
interface HTMLTextAreaElement : HTMLElement {
[Reflect] attribute boolean autofocus;
[Reflect] attribute DOMString dirName;
[Reflect] attribute boolean disabled;
readonly attribute HTMLFormElement form;
[SetterMayThrowException] attribute long minLength;
[SetterMayThrowException] attribute long maxLength;
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString placeholder;
[Reflect] attribute boolean readOnly;
[Reflect] attribute boolean required;
attribute unsigned long rows;
attribute unsigned long cols;
[Reflect] attribute DOMString wrap;
readonly attribute DOMString type;
attribute DOMString defaultValue;
[TreatNullAs=EmptyString] attribute DOMString value;
readonly attribute unsigned long textLength;
readonly attribute boolean willValidate;
readonly attribute ValidityState validity;
readonly attribute DOMString validationMessage;
boolean checkValidity();
[EnabledAtRuntime=InteractiveFormValidation] boolean reportValidity();
void setCustomValidity(DOMString? error);
readonly attribute NodeList labels;
void select();
attribute long selectionStart;
attribute long selectionEnd;
attribute DOMString selectionDirection;
[MayThrowException] void setRangeText(DOMString replacement);
[MayThrowException] void setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional DOMString selectionMode);
void setSelectionRange(optional long start = 0, optional long end = 0, optional DOMString direction);
attribute DOMString autocomplete;
};