Trait augdom::event::Event  [−][src]
pub trait Event: AsRef<Event> + JsCast {
    type Builder: Default + EventBuilder<Output = Self>;
    const NAME: &'static str;
    fn new() -> Self::Builder { ... }
    fn dispatch(self, target: &EventTarget) { ... }
}Expand description
An event that can be received as the first argument to a handler callback.
Associated Types
type Builder: Default + EventBuilder<Output = Self>
type Builder: Default + EventBuilder<Output = Self>
The builder type returned by new().
Associated Constants
Provided methods
fn dispatch(self, target: &EventTarget)
fn dispatch(self, target: &EventTarget)
Dispatch this event to the provided target.