Requires

Provides

Application.js

A preset for window application with header and titlebar

License:
Public domain (http://unlicense.org).
Authors:
Yaroslaff Fedin
  1. 22
  2. 23
  3. 24
  4. 25
  5. 26
  6. 27
  7. 28
  8. 29
  9. 30
  10. 31
  11. 32
  12. 33
  13. 34
  14. 35
  15. 36
  16. 37
  17. 38
  18. 39
  19. 40
  20. 41
  21. 42
  22. 43
  23. 44
  24. 45
  25. 46
  26. 47
  27. 48
  28. 49
  29. 50
  30. 51
  31. 52
  32. 53
  33. 54
  34. 55
  35. 56
  36. 57
  37. 58
LSD.Widget.Window.Application = new Class({ Extends: LSD.Widget.Window, options: { actions: { draggable: { watches: "#title" }, resizable: { uses: ["#handle", "#content"] } }, events: { expected: { '#buttons': { '#close': { click: 'close' }, '#minimize': { click: 'collapse' }, '#maximizer': { click: 'expand' } }, header: { '#toggler': { click: 'mutate' } } }, self: { close: 'hide' } } } })