[−][src]Enum smithy_types::UiEvent
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
OnKeyDown(KeyboardEvent)Usage:
on_key_down={|e: web_sys::KeyboardEvent| { /* ... */ }}
Requires the keyboard-events feature.
OnKeyPress(KeyboardEvent)Usage:
on_key_press={|e: web_sys::KeyboardEvent| { /* ... */ }}
Requires the keyboard-events feature.
OnKeyUp(KeyboardEvent)Usage:
on_key_up={|e: web_sys::KeyboardEvent| { /* ... */ }}
Requires the keyboard-events feature.
OnChange(InputEvent)Usage:
on_change={|e: web_sys::InputEvent| { /* ... */ }}
Requires the input-events feature.
OnInput(InputEvent)Usage:
on_input={|e: web_sys::InputEvent| { /* ... */ }}
Requires the input-events feature.
OnInvalid(InputEvent)Usage:
on_invalid={|e: web_sys::InputEvent| { /* ... */ }}
Requires the input-events feature.
OnSubmit(InputEvent)Usage:
on_submit={|e: web_sys::InputEvent| { /* ... */ }}
Requires the input-events feature.
OnTest(bool)An event used for testing.
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut Timpl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId