pub trait OptimisticHtmlElement {
// Required method
fn focus(&self);
}Expand description
Support working with web_sys::HtmlElement
Required Methods§
Sourcefn focus(&self)
fn focus(&self)
Call web_sys::HtmlElement::focus if this is an web_sys::HtmlElement.
Implementations on Foreign Types§
Source§impl OptimisticHtmlElement for NodeRef
Available on crate feature yew only.
impl OptimisticHtmlElement for NodeRef
Available on crate feature
yew only.