pub enum ActivationPhase {
Pre,
Post {
canceled: bool,
},
}Expand description
Which activation step the Dom’s hook is being asked to run.
Variants§
Pre
Before any listener: the legacy-pre-activation step (a checkbox flips its state here so click listeners see the new value).
Post
After dispatch. canceled is the event’s canceled flag: run the
legacy-canceled-activation step (revert) when true, the
activation behavior proper (fire input / change, submit,
navigate) when false.
Trait Implementations§
Source§impl Clone for ActivationPhase
impl Clone for ActivationPhase
impl Copy for ActivationPhase
Source§impl Debug for ActivationPhase
impl Debug for ActivationPhase
impl Eq for ActivationPhase
Source§impl PartialEq for ActivationPhase
impl PartialEq for ActivationPhase
impl StructuralPartialEq for ActivationPhase
Auto Trait Implementations§
impl Freeze for ActivationPhase
impl RefUnwindSafe for ActivationPhase
impl Send for ActivationPhase
impl Sync for ActivationPhase
impl Unpin for ActivationPhase
impl UnsafeUnpin for ActivationPhase
impl UnwindSafe for ActivationPhase
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