pub(crate) trait HTMLTextAreaElementMethods<D: DomTypes> {
Show 46 methods
// Required methods
fn Cols(&self) -> u32;
fn SetCols(&self, value: u32) -> ErrorResult;
fn DirName(&self) -> DOMString;
fn SetDirName(&self, value: DOMString);
fn Disabled(&self) -> bool;
fn SetDisabled(&self, value: bool);
fn GetForm(&self) -> Option<DomRoot<D::HTMLFormElement>>;
fn MaxLength(&self) -> i32;
fn SetMaxLength(&self, value: i32) -> ErrorResult;
fn MinLength(&self) -> i32;
fn SetMinLength(&self, value: i32) -> ErrorResult;
fn Name(&self) -> DOMString;
fn SetName(&self, value: DOMString);
fn Placeholder(&self) -> DOMString;
fn SetPlaceholder(&self, value: DOMString);
fn ReadOnly(&self) -> bool;
fn SetReadOnly(&self, value: bool);
fn Required(&self) -> bool;
fn SetRequired(&self, value: bool);
fn Rows(&self) -> u32;
fn SetRows(&self, value: u32) -> ErrorResult;
fn Wrap(&self) -> DOMString;
fn SetWrap(&self, value: DOMString);
fn Type(&self) -> DOMString;
fn DefaultValue(&self) -> DOMString;
fn SetDefaultValue(&self, value: DOMString, _can_gc: CanGc);
fn Value(&self) -> DOMString;
fn SetValue(&self, value: DOMString);
fn TextLength(&self) -> u32;
fn WillValidate(&self) -> bool;
fn Validity(&self) -> DomRoot<D::ValidityState>;
fn ValidationMessage(&self) -> DOMString;
fn CheckValidity(&self, _can_gc: CanGc) -> bool;
fn ReportValidity(&self, _can_gc: CanGc) -> bool;
fn SetCustomValidity(&self, error: DOMString);
fn Labels(&self) -> DomRoot<D::NodeList>;
fn Select(&self);
fn GetSelectionStart(&self) -> Option<u32>;
fn SetSelectionStart(&self, value: Option<u32>) -> ErrorResult;
fn GetSelectionEnd(&self) -> Option<u32>;
fn SetSelectionEnd(&self, value: Option<u32>) -> ErrorResult;
fn GetSelectionDirection(&self) -> Option<DOMString>;
fn SetSelectionDirection(&self, value: Option<DOMString>) -> ErrorResult;
fn SetRangeText(&self, replacement: DOMString) -> Fallible<()>;
fn SetRangeText_(
&self,
replacement: DOMString,
start: u32,
end: u32,
selectionMode: SelectionMode,
) -> Fallible<()>;
fn SetSelectionRange(
&self,
start: u32,
end: u32,
direction: Option<DOMString>,
) -> Fallible<()>;
}