summaryrefslogtreecommitdiff
path: root/templates/project/widgets/image/image.coffee
blob: 418e385c4d94e926870f280a5b677f34a2fd9b72 (plain)
1
2
3
4
5
6
7
8
9
class Dashing.Image 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.