dingo-core-0.1.0: Dingo is a Rich Internet Application platform based on the Warp web server.

Dingo.Event

Synopsis

Documentation

data Event Source

Event types.

Constructors

OnClick 
OnDblClick 
OnChange 

Instances

Show Event 
ToJavascript Event

Convert an event to the Javascript identifer of the corresponding jQuery function.

onEvent :: ToSelector a => a -> Event -> CallbackM () -> CallbackM ()Source

Perform a callback when the given event triggers.

emitEvent :: Widget w s => w -> Event -> CallbackM ()Source

Emit an event notification for a widget. This function behaves exactly as if the event had occurred in the browser.