pub trait VNodeExt {
// Required method
fn has_component(&self, name: &str) -> bool;
}
Expand description
Extension trait for VNode
.
Required Methods§
Sourcefn has_component(&self, name: &str) -> bool
fn has_component(&self, name: &str) -> bool
Returns true
if self
has a given component node as its child.