zino_dioxus::extension

Trait VNodeExt

Source
pub trait VNodeExt {
    // Required method
    fn has_component(&self, name: &str) -> bool;
}
Expand description

Extension trait for VNode.

Required Methods§

Source

fn has_component(&self, name: &str) -> bool

Returns true if self has a given component node as its child.

Implementations on Foreign Types§

Source§

impl VNodeExt for VNode

Source§

fn has_component(&self, name: &str) -> bool

Implementors§