pub(crate) 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) -> DomRoot<D::DOMTokenList>; fn Elements(&self) -> DomRoot<D::HTMLFormControlsCollection>; fn Length(&self) -> u32; fn Submit(&self, _can_gc: CanGc); fn RequestSubmit( &self, submitter: Option<&D::HTMLElement>, _can_gc: CanGc, ) -> Fallible<()>; 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<DomRoot<D::Element>>; fn SupportedPropertyNames(&self) -> Vec<DOMString>; fn NamedGetter(&self, name: DOMString) -> Option<RadioNodeListOrElement<D>>;
}

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) -> DomRoot<D::DOMTokenList>

Source

fn Elements(&self) -> DomRoot<D::HTMLFormControlsCollection>

Source

fn Length(&self) -> u32

Source

fn Submit(&self, _can_gc: CanGc)

Source

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

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<DomRoot<D::Element>>

Source

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

Source

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

Implementors§