Add dashboard
This commit is contained in:
9
widgets/daily_xkcd/daily_xkcd.coffee
Normal file
9
widgets/daily_xkcd/daily_xkcd.coffee
Normal file
@@ -0,0 +1,9 @@
|
||||
class Dashing.DailyXKCD 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.
|
||||
Reference in New Issue
Block a user