script::dom::bindings::codegen::Bindings::HTMLButtonElementBinding

Trait HTMLButtonElementMethods

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

Required Methods§

Source

fn Disabled(&self) -> bool

Source

fn SetDisabled(&self, value: bool)

Source

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

Implementors§