Sha256: ab01dda94f8d87af4154680af3703e7e9c4cf1e24dfaec10c709fc1a1d4d8e54
Contents?: true
Size: 399 Bytes
Versions: 23
Compression:
Stored size: 399 Bytes
Contents
class MyDashboard.Meter extends MyDashboard.Widget @accessor 'value', MyDashboard.AnimatedValue constructor: -> super @observe 'value', (value) -> $(@node).find(".meter").val(value).trigger('change') ready: -> meter = $(@node).find(".meter") meter.attr("data-bgcolor", meter.css("background-color")) meter.attr("data-fgcolor", meter.css("color")) meter.knob()
Version data entries
23 entries across 23 versions & 1 rubygems