cheat sheets.

$ cheat hwh_broadcast
To listen in CoffeeScript

Broadcast.listen 'event regex', ( event_name, event_object ) ->
   # your code here

To announce in JavaScript (typical)

// create the event first
event = new Event()
   .name( 'event.name.here' )
   .display_context( 'jquery addressable selector' )
   .display_mode( 'append|replace|prepend|etc' )
   .attr( 'name', 'value' )
   .values();

eventHandler( event )
Version 1, updated 117 days ago.
. o 0 ( edit | history )
( add new | see all )