Sha256: 84f88ff36c9da9218c2db5238ecae907af295abe96cfa4d4d50fedc12fa2e08a
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
rio.components.Label = rio.Component.create(rio.components.Base, { requireCss: "label", attrAccessors: ["content"], attrEvents: ["dblClick"], methods: { buildHtml: function() { var labelHtml = rio.Tag.span(); this.content.bind(function(content) { labelHtml.update(content); }); labelHtml.rioComponent = this; return labelHtml; }, dblClick: function(e) { this.fire("dblClick", e); } } });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
riojs-0.0.7 | public/javascripts/components/label.js |
riojs-0.0.6 | public/javascripts/components/label.js |