pub(crate) trait HTMLButtonElementMethods<D: DomTypes> {
Show 26 methods // Required methods fn Disabled(&self) -> bool; fn SetDisabled(&self, value: bool); fn GetForm(&self) -> Option<DomRoot<D::HTMLFormElement>>; fn FormAction(&self) -> DOMString; fn SetFormAction(&self, value: DOMString); fn FormEnctype(&self) -> DOMString; fn SetFormEnctype(&self, value: DOMString); fn FormMethod(&self) -> DOMString; fn SetFormMethod(&self, value: DOMString); fn FormNoValidate(&self) -> bool; fn SetFormNoValidate(&self, value: bool); fn FormTarget(&self) -> DOMString; fn SetFormTarget(&self, value: DOMString); fn Name(&self) -> DOMString; fn SetName(&self, value: DOMString); fn Type(&self) -> DOMString; fn SetType(&self, value: DOMString); fn Value(&self) -> DOMString; fn SetValue(&self, value: DOMString); 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>;
}

Required Methods§

Source

fn Disabled(&self) -> bool

Source

fn SetDisabled(&self, value: bool)

Source

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

Source

fn FormAction(&self) -> DOMString

Source

fn SetFormAction(&self, value: DOMString)

Source

fn FormEnctype(&self) -> DOMString

Source

fn SetFormEnctype(&self, value: DOMString)

Source

fn FormMethod(&self) -> DOMString

Source

fn SetFormMethod(&self, value: DOMString)

Source

fn FormNoValidate(&self) -> bool

Source

fn SetFormNoValidate(&self, value: bool)

Source

fn FormTarget(&self) -> DOMString

Source

fn SetFormTarget(&self, value: DOMString)

Source

fn Name(&self) -> DOMString

Source

fn SetName(&self, value: DOMString)

Source

fn Type(&self) -> DOMString

Source

fn SetType(&self, value: DOMString)

Source

fn Value(&self) -> DOMString

Source

fn SetValue(&self, value: DOMString)

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>

Implementors§