Requires

Provides

Button.js

A button widget. You click it, it fires the event

License:
Public domain (http://unlicense.org).
Authors:
Yaroslaff Fedin
  1. 23
  2. 24
  3. 25
  4. 26
  5. 27
  6. 28
  7. 29
  8. 30
  9. 31
  10. 32
  11. 33
  12. 34
  13. 35
  14. 36
  15. 37
  16. 38
  17. 39
  18. 40
  19. 41
  20. 42
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); } });