This is unreleased documentation for Yew Next version.
For up-to-date documentation, see the latest version on

Function yew::events::set_event_bubbling

source ยท
pub fn set_event_bubbling(bubble: bool)
Available on crate feature csr only.
Expand description

Set, if events should bubble up the DOM tree, calling any matching callbacks.

Bubbling is enabled by default. Disabling bubbling can lead to substantial improvements in event handling performance.

This function should be called before any component is mounted.