pub trait FormControl: DomObject {
Show 13 methods fn form_owner(&self) -> Option<Root<Dom<HTMLFormElement>>>; fn set_form_owner(&self, form: Option<&HTMLFormElement>); fn to_element<'a>(&'a self) -> &'a Element; fn is_listed(&self) -> bool { ... } fn set_form_owner_from_parser(&self, form: &HTMLFormElement) { ... } fn reset_form_owner(&self) { ... } fn form_attribute_mutated(&self, mutation: AttributeMutation<'_>) { ... } fn register_if_necessary(&self) { ... } fn unregister_if_necessary(&self) { ... } fn bind_form_control_to_tree(&self) { ... } fn unbind_form_control_from_tree(&self) { ... } fn get_form_attribute<InputFn, OwnerFn>(
        &self,
        attr: &LocalName,
        input: InputFn,
        owner: OwnerFn
    ) -> DOMString
    where
        InputFn: Fn(&Self) -> DOMString,
        OwnerFn: Fn(&HTMLFormElement) -> DOMString,
        Self: Sized
, { ... } fn get_form_boolean_attribute<InputFn, OwnerFn>(
        &self,
        attr: &LocalName,
        input: InputFn,
        owner: OwnerFn
    ) -> bool
    where
        InputFn: Fn(&Self) -> bool,
        OwnerFn: Fn(&HTMLFormElement) -> bool,
        Self: Sized
, { ... }
}

Required Methods§

Provided Methods§

source

fn is_listed(&self) -> bool

source

fn set_form_owner_from_parser(&self, form: &HTMLFormElement)

source

fn reset_form_owner(&self)

source

fn form_attribute_mutated(&self, mutation: AttributeMutation<'_>)

source

fn register_if_necessary(&self)

source

fn unregister_if_necessary(&self)

source

fn bind_form_control_to_tree(&self)

source

fn unbind_form_control_from_tree(&self)

source

fn get_form_attribute<InputFn, OwnerFn>(
    &self,
    attr: &LocalName,
    input: InputFn,
    owner: OwnerFn
) -> DOMStringwhere
    InputFn: Fn(&Self) -> DOMString,
    OwnerFn: Fn(&HTMLFormElement) -> DOMString,
    Self: Sized,

source

fn get_form_boolean_attribute<InputFn, OwnerFn>(
    &self,
    attr: &LocalName,
    input: InputFn,
    owner: OwnerFn
) -> boolwhere
    InputFn: Fn(&Self) -> bool,
    OwnerFn: Fn(&HTMLFormElement) -> bool,
    Self: Sized,

Implementors§