pub trait OptimisticHtmlFormElement {
// Required method
fn submit(&self);
}Expand description
Support working with web_sys::HtmlFormElement
Required Methods§
Sourcefn submit(&self)
fn submit(&self)
web_sys::HtmlFormElement::submit if the element is an web_sys::HtmlFormElement.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl OptimisticHtmlFormElement for NodeRef
Available on crate feature yew only.
impl OptimisticHtmlFormElement for NodeRef
Available on crate feature
yew only.