Sha256: 8a44b4913d54a43d72464a75a7c523ece54eb7c7bb8196fa520af5dd5d0a4596

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

class Dashing.<%= Thor::Util.camel_case(name) %> extends Dashing.Widget

  ready: ->
    # This is fired when the widget is done being rendered

  onData: (data) ->
    # Handle incoming data
    # You can access the html node of this widget with `@node`
    # Example: $(@node).fadeOut().fadeIn() will make the node flash each time data comes in.
    super

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dashing-0.1.0 templates/widget/%name%/%name%.coffee.tt