pub trait DOMHTMLFormElementExt: 'static {
Show 27 methods
fn accept_charset(&self) -> Option<GString>;
fn action(&self) -> Option<GString>;
fn elements(&self) -> Option<DOMHTMLCollection>;
fn encoding(&self) -> Option<GString>;
fn enctype(&self) -> Option<GString>;
fn length(&self) -> c_long;
fn method(&self) -> Option<GString>;
fn name(&self) -> Option<GString>;
fn target(&self) -> Option<GString>;
fn reset(&self);
fn set_accept_charset(&self, value: &str);
fn set_action(&self, value: &str);
fn set_encoding(&self, value: &str);
fn set_enctype(&self, value: &str);
fn set_method(&self, value: &str);
fn set_name(&self, value: &str);
fn set_target(&self, value: &str);
fn submit(&self);
fn connect_accept_charset_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_action_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_elements_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_encoding_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_enctype_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_length_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_method_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_target_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description
Required Methods
sourcefn accept_charset(&self) -> Option<GString>
fn accept_charset(&self) -> Option<GString>
sourcefn elements(&self) -> Option<DOMHTMLCollection>
fn elements(&self) -> Option<DOMHTMLCollection>
sourcefn reset(&self)
fn reset(&self)
Deprecated since 2.22
Use JavaScriptCore API instead
sourcefn set_accept_charset(&self, value: &str)
fn set_accept_charset(&self, value: &str)
sourcefn set_action(&self, value: &str)
fn set_action(&self, value: &str)
sourcefn set_encoding(&self, value: &str)
fn set_encoding(&self, value: &str)
sourcefn set_enctype(&self, value: &str)
fn set_enctype(&self, value: &str)
sourcefn set_method(&self, value: &str)
fn set_method(&self, value: &str)
sourcefn set_target(&self, value: &str)
fn set_target(&self, value: &str)
sourcefn submit(&self)
fn submit(&self)
Deprecated since 2.22
Use JavaScriptCore API instead