novdom/listener
Constants
pub const global_listener: fn(Parameter) -> Nil
Functions
pub fn create_once(
callback: fn(Event) -> Nil,
) -> fn(Event) -> Nil
pub fn once(listener: Parameter) -> Parameter
Creates a listener that will only be called once WARNING: If anything else than a Listener is passed, this function will panic
pub fn onmousedown(callback: fn(Event) -> Nil) -> Parameter
pub fn onmousemove(callback: fn(Event) -> Nil) -> Parameter
pub fn onmouseout(callback: fn(Event) -> Nil) -> Parameter
pub fn onmouseover(callback: fn(Event) -> Nil) -> Parameter
pub fn ontransitionend(callback: fn(Event) -> Nil) -> Parameter
pub fn ontransitionstart(callback: fn(Event) -> Nil) -> Parameter