pub trait HTMLTextAreaElementMethods<D: DomTypes> {
Show 46 methods
// Required methods
fn Cols(&self) -> u32;
fn SetCols(&self, value: u32) -> Result<(), Error>;
fn DirName(&self) -> DOMString;
fn SetDirName(&self, value: DOMString);
fn Disabled(&self) -> bool;
fn SetDisabled(&self, value: bool);
fn GetForm(&self) -> Option<Root<Dom<HTMLFormElement>>>;
fn MaxLength(&self) -> i32;
fn SetMaxLength(&self, value: i32) -> Result<(), Error>;
fn MinLength(&self) -> i32;
fn SetMinLength(&self, value: i32) -> Result<(), Error>;
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) -> Result<(), Error>;
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) -> Root<Dom<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) -> Root<Dom<NodeList>>;
fn Select(&self);
fn GetSelectionStart(&self) -> Option<u32>;
fn SetSelectionStart(&self, value: Option<u32>) -> Result<(), Error>;
fn GetSelectionEnd(&self) -> Option<u32>;
fn SetSelectionEnd(&self, value: Option<u32>) -> Result<(), Error>;
fn GetSelectionDirection(&self) -> Option<DOMString>;
fn SetSelectionDirection(
&self,
value: Option<DOMString>,
) -> Result<(), Error>;
fn SetRangeText(&self, replacement: DOMString) -> Result<(), Error>;
fn SetRangeText_(
&self,
replacement: DOMString,
start: u32,
end: u32,
selectionMode: SelectionMode,
) -> Result<(), Error>;
fn SetSelectionRange(
&self,
start: u32,
end: u32,
direction: Option<DOMString>,
) -> Result<(), Error>;
}