Sha256: 9d5d74021e9560fdfb566fe60874177cd39142b830f82a68fb913a31bf6a94c0

Contents?: true

Size: 342 Bytes

Versions: 19

Compression:

Stored size: 342 Bytes

Contents

class Dashing.<%= class_name.capitalize %> 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.

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
dashing-rails-2.6.2 lib/generators/templates/widgets/new.coffee
dashing-rails-2.6.1 lib/generators/templates/widgets/new.coffee
dashing-rails-2.6.0 lib/generators/templates/widgets/new.coffee
dashing-rails-2.5.0 lib/generators/templates/widgets/new.coffee
dashing-rails-2.4.5 lib/generators/templates/widgets/new.coffee
dashing-rails-2.4.4 lib/generators/templates/widgets/new.coffee
dashing-rails-2.4.3 lib/generators/templates/widgets/new.coffee
dashing-rails-2.4.2 lib/generators/templates/widgets/new.coffee
dashing-rails-2.4.1 lib/generators/templates/widgets/new.coffee
dashing-rails-2.4.0 lib/generators/templates/widgets/new.coffee
dashing-rails-2.3.2 lib/generators/templates/widgets/new.coffee
dashing-rails-2.3.1 lib/generators/templates/widgets/new.coffee
dashing-rails-2.3.0 lib/generators/templates/widgets/new.coffee
dashing-rails-2.2.0 lib/generators/templates/widgets/new.coffee
dashing-rails-2.1.1 lib/generators/templates/widgets/new.coffee
dashing-rails-2.1.0 lib/generators/templates/widgets/new.coffee
dashing-rails-2.0.2 lib/generators/templates/widgets/new.coffee
dashing-rails-2.0.1 lib/generators/templates/widgets/new.coffee
dashing-rails-2.0.0 lib/generators/templates/widgets/new.coffee