mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Updated the docs of set_event_bubbling (#3391)
The removed paragraph describes a caveat of the framework which is no longer true
This commit is contained in:
parent
ca2aa2a4a6
commit
0f2fc59b54
@ -286,10 +286,6 @@ static BUBBLE_EVENTS: AtomicBool = AtomicBool::new(true);
|
||||
/// Bubbling is enabled by default. Disabling bubbling can lead to substantial improvements in event
|
||||
/// handling performance.
|
||||
///
|
||||
/// Note that yew uses event delegation and implements internal even bubbling for performance
|
||||
/// reasons. Calling `Event.stopPropagation()` or `Event.stopImmediatePropagation()` in the event
|
||||
/// handler has no effect.
|
||||
///
|
||||
/// This function should be called before any component is mounted.
|
||||
#[cfg(feature = "csr")]
|
||||
pub fn set_event_bubbling(bubble: bool) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user