A button widget. You click it, it fires the event
LSD.Widget.Button = new Class({
Extends: LSD.Widget.Paint,
options: {
tag: 'button',
label: ''
},
initialize: function() {
this.parent.apply(this, arguments);
this.addPseudo('touchable');
},
setContent: function(content) {
this.setState('text');
return this.parent.apply(this, arguments);
}
});