pub trait HTMLButtonElementMethods {
Show 26 methods // Required methods fn Disabled(&self) -> bool; fn SetDisabled(&self, value: bool); fn GetForm(&self) -> Option<Root<Dom<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) -> Root<Dom<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) -> Root<Dom<NodeList>>;
}

Required Methods§

source

fn Disabled(&self) -> bool

source

fn SetDisabled(&self, value: bool)

source

fn GetForm(&self) -> Option<Root<Dom<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) -> Root<Dom<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) -> Root<Dom<NodeList>>

Implementors§