pub enum PropagationPhase {
Capturing,
Target,
Bubbling,
}
Expand description
Specifies the event propagation phase
Variants§
Capturing
Event is traveling down from parent to target (DOM capturing phase)
Target
Event is at the target component
Bubbling
Event is traveling up from target to parent (DOM bubbling phase)
Trait Implementations§
Source§impl Clone for PropagationPhase
impl Clone for PropagationPhase
Source§fn clone(&self) -> PropagationPhase
fn clone(&self) -> PropagationPhase
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PropagationPhase
impl Debug for PropagationPhase
Source§impl PartialEq for PropagationPhase
impl PartialEq for PropagationPhase
impl Copy for PropagationPhase
impl Eq for PropagationPhase
impl StructuralPartialEq for PropagationPhase
Auto Trait Implementations§
impl Freeze for PropagationPhase
impl RefUnwindSafe for PropagationPhase
impl Send for PropagationPhase
impl Sync for PropagationPhase
impl Unpin for PropagationPhase
impl UnwindSafe for PropagationPhase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting