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<()>;
}

Required Methods§

Source

fn Cols(&self) -> u32

Source

fn SetCols(&self, value: u32) -> ErrorResult

Source

fn DirName(&self) -> DOMString

Source

fn SetDirName(&self, value: DOMString)

Source

fn Disabled(&self) -> bool

Source

fn SetDisabled(&self, value: bool)

Source

fn GetForm(&self) -> Option<DomRoot<D::HTMLFormElement>>

Source

fn MaxLength(&self) -> i32

Source

fn SetMaxLength(&self, value: i32) -> ErrorResult

Source

fn MinLength(&self) -> i32

Source

fn SetMinLength(&self, value: i32) -> ErrorResult

Source

fn Name(&self) -> DOMString

Source

fn SetName(&self, value: DOMString)

Source

fn Placeholder(&self) -> DOMString

Source

fn SetPlaceholder(&self, value: DOMString)

Source

fn ReadOnly(&self) -> bool

Source

fn SetReadOnly(&self, value: bool)

Source

fn Required(&self) -> bool

Source

fn SetRequired(&self, value: bool)

Source

fn Rows(&self) -> u32

Source

fn SetRows(&self, value: u32) -> ErrorResult

Source

fn Wrap(&self) -> DOMString

Source

fn SetWrap(&self, value: DOMString)

Source

fn Type(&self) -> DOMString

Source

fn DefaultValue(&self) -> DOMString

Source

fn SetDefaultValue(&self, value: DOMString, _can_gc: CanGc)

Source

fn Value(&self) -> DOMString

Source

fn SetValue(&self, value: DOMString)

Source

fn TextLength(&self) -> u32

Source

fn WillValidate(&self) -> bool

Source

fn Validity(&self) -> DomRoot<D::ValidityState>

Source

fn ValidationMessage(&self) -> DOMString

Source

fn CheckValidity(&self, _can_gc: CanGc) -> bool

Source

fn ReportValidity(&self, _can_gc: CanGc) -> bool

Source

fn SetCustomValidity(&self, error: DOMString)

Source

fn Labels(&self) -> DomRoot<D::NodeList>

Source

fn Select(&self)

Source

fn GetSelectionStart(&self) -> Option<u32>

Source

fn SetSelectionStart(&self, value: Option<u32>) -> ErrorResult

Source

fn GetSelectionEnd(&self) -> Option<u32>

Source

fn SetSelectionEnd(&self, value: Option<u32>) -> ErrorResult

Source

fn GetSelectionDirection(&self) -> Option<DOMString>

Source

fn SetSelectionDirection(&self, value: Option<DOMString>) -> ErrorResult

Source

fn SetRangeText(&self, replacement: DOMString) -> Fallible<()>

Source

fn SetRangeText_( &self, replacement: DOMString, start: u32, end: u32, selectionMode: SelectionMode, ) -> Fallible<()>

Source

fn SetSelectionRange( &self, start: u32, end: u32, direction: Option<DOMString>, ) -> Fallible<()>

Implementors§