pub trait HTMLTextAreaElementMethods {
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); 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) -> bool; fn ReportValidity(&self) -> 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>;
}

Required Methods§

source

fn Cols(&self) -> u32

source

fn SetCols(&self, value: u32) -> Result<(), Error>

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<Root<Dom<HTMLFormElement>>>

source

fn MaxLength(&self) -> i32

source

fn SetMaxLength(&self, value: i32) -> Result<(), Error>

source

fn MinLength(&self) -> i32

source

fn SetMinLength(&self, value: i32) -> Result<(), Error>

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) -> Result<(), Error>

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)

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) -> Root<Dom<ValidityState>>

source

fn ValidationMessage(&self) -> DOMString

source

fn CheckValidity(&self) -> bool

source

fn ReportValidity(&self) -> bool

source

fn SetCustomValidity(&self, error: DOMString)

source

fn Labels(&self) -> Root<Dom<NodeList>>

source

fn Select(&self)

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Implementors§