Sha256: 8c626f97f4647965e263c5889aedcf95abce49873aca864d98753938b23596ca
Contents?: true
Size: 402 Bytes
Versions: 6
Compression:
Stored size: 402 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.observe("dblclick", this.fire.curry("dblClick").bind(this)); return labelHtml; } } });
Version data entries
6 entries across 6 versions & 1 rubygems