Sha256: 25e605854eaba62262c6d97ee9350f9efa531fd34c96c34b3aa9d6a1b70b4125
Contents?: true
Size: 350 Bytes
Versions: 23
Compression:
Stored size: 350 Bytes
Contents
class MyDashboard.<%= class_name.capitalize %> extends MyDashboard.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
23 entries across 23 versions & 1 rubygems