pub trait HTMLFormElementMethods<D: DomTypes> {
Show 31 methods // Required methods fn AcceptCharset(&self) -> DOMString; fn SetAcceptCharset(&self, value: DOMString); fn Action(&self) -> DOMString; fn SetAction(&self, value: DOMString); fn Autocomplete(&self) -> DOMString; fn SetAutocomplete(&self, value: DOMString); fn Enctype(&self) -> DOMString; fn SetEnctype(&self, value: DOMString); fn Encoding(&self) -> DOMString; fn SetEncoding(&self, value: DOMString); fn Method(&self) -> DOMString; fn SetMethod(&self, value: DOMString); fn Name(&self) -> DOMString; fn SetName(&self, value: DOMString); fn NoValidate(&self) -> bool; fn SetNoValidate(&self, value: bool); fn Target(&self) -> DOMString; fn SetTarget(&self, value: DOMString); fn Rel(&self) -> DOMString; fn SetRel(&self, value: DOMString, _can_gc: CanGc); fn RelList(&self) -> Root<Dom<DOMTokenList>>; fn Elements(&self) -> Root<Dom<HTMLFormControlsCollection>>; fn Length(&self) -> u32; fn Submit(&self, _can_gc: CanGc); fn RequestSubmit( &self, submitter: Option<&HTMLElement>, _can_gc: CanGc, ) -> Result<(), Error>; fn Reset(&self, _can_gc: CanGc); fn CheckValidity(&self, _can_gc: CanGc) -> bool; fn ReportValidity(&self, _can_gc: CanGc) -> bool; fn IndexedGetter(&self, index: u32) -> Option<Root<Dom<Element>>>; fn SupportedPropertyNames(&self) -> Vec<DOMString>; fn NamedGetter(&self, name: DOMString) -> Option<RadioNodeListOrElement>;
}

Required Methods§

source

fn AcceptCharset(&self) -> DOMString

source

fn SetAcceptCharset(&self, value: DOMString)

source

fn Action(&self) -> DOMString

source

fn SetAction(&self, value: DOMString)

source

fn Autocomplete(&self) -> DOMString

source

fn SetAutocomplete(&self, value: DOMString)

source

fn Enctype(&self) -> DOMString

source

fn SetEnctype(&self, value: DOMString)

source

fn Encoding(&self) -> DOMString

source

fn SetEncoding(&self, value: DOMString)

source

fn Method(&self) -> DOMString

source

fn SetMethod(&self, value: DOMString)

source

fn Name(&self) -> DOMString

source

fn SetName(&self, value: DOMString)

source

fn NoValidate(&self) -> bool

source

fn SetNoValidate(&self, value: bool)

source

fn Target(&self) -> DOMString

source

fn SetTarget(&self, value: DOMString)

source

fn Rel(&self) -> DOMString

source

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

source

fn RelList(&self) -> Root<Dom<DOMTokenList>>

source

fn Elements(&self) -> Root<Dom<HTMLFormControlsCollection>>

source

fn Length(&self) -> u32

source

fn Submit(&self, _can_gc: CanGc)

source

fn RequestSubmit( &self, submitter: Option<&HTMLElement>, _can_gc: CanGc, ) -> Result<(), Error>

source

fn Reset(&self, _can_gc: CanGc)

source

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

source

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

source

fn IndexedGetter(&self, index: u32) -> Option<Root<Dom<Element>>>

source

fn SupportedPropertyNames(&self) -> Vec<DOMString>

source

fn NamedGetter(&self, name: DOMString) -> Option<RadioNodeListOrElement>

Implementors§