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§
Sourcefn on_attributes_changed(
&self,
_node: NodeMut<'_, V>,
_attributes: &AttributeMask,
)
fn on_attributes_changed( &self, _node: NodeMut<'_, V>, _attributes: &AttributeMask, )
Called before update_state is called on the RealDom