dioxus_native_core::node_watcher

Trait AttributeWatcher

Source
pub trait AttributeWatcher<V: FromAnyValue + Send + Sync> {
    // Provided method
    fn on_attributes_changed(
        &self,
        _node: NodeMut<'_, V>,
        _attributes: &AttributeMask,
    ) { ... }
}
Expand description

A trait for watching for changes to attributes of an element.

Provided Methods§

Source

fn on_attributes_changed( &self, _node: NodeMut<'_, V>, _attributes: &AttributeMask, )

Called before update_state is called on the RealDom

Implementors§