pub enum UiEvent {
OnTest(bool),
}Expand description
An enum of events that a DOM element can potentially handle.
These are included on dom elements as follows:
smd!(
<some-dom-node ui_event={ui_event_handler} />
)e.g.
smd!(
<div on_click={|e: web_sys::MouseEvent| { /* ... */ }} />
)Variants§
Auto Trait Implementations§
impl Freeze for UiEvent
impl RefUnwindSafe for UiEvent
impl Send for UiEvent
impl Sync for UiEvent
impl Unpin for UiEvent
impl UnwindSafe for UiEvent
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