Trait patternfly_yew::utils::ElementSupport
source · pub trait ElementSupport {
// Required method
fn contains(&self, target: Option<EventTarget>) -> bool;
}
Expand description
Support working with web_sys::Element
Required Methods§
sourcefn contains(&self, target: Option<EventTarget>) -> bool
fn contains(&self, target: Option<EventTarget>) -> bool
Call [web_sys::Element::contains
], or return false
if this is not an web_sys::Element
.