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§