not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
981 B

  1. /**
  2. A Groupbox displays controls as a vertically stacked group.
  3. A header may be added by placing an <a href="#onyx.GroupboxHeader">onyx.GroupboxHeader</a> as the first control in the Groupbox.
  4. {kind: "onyx.Groupbox", components: [
  5. {kind: "onyx.GroupboxHeader", content: "Sounds"},
  6. {components: [
  7. {content: "System Sounds"},
  8. {kind: "onyx.ToggleButton", value: true}
  9. ]},
  10. {kind: "onyx.InputDecorator", components: [
  11. {kind: "onyx.Input"}
  12. ]}
  13. ]}
  14. ]}
  15. */
  16. enyo.kind({
  17. name: "onyx.Groupbox",
  18. classes: "onyx-groupbox"
  19. });
  20. /**
  21. A GroupboxHeader is designed to be placed inside an <a href="#onyx.Groupbox">onyx.Groupbox</a>. When a header for a group is desired,
  22. make a GroupboxHeader the first control inside a Groupbox.
  23. {kind: "onyx.Groupbox", components: [
  24. {kind: "onyx.GroupboxHeader", content: "Sounds"},
  25. {content: "Yawn"},
  26. {content: "Beep"}
  27. ]}
  28. */
  29. enyo.kind({
  30. name: "onyx.GroupboxHeader",
  31. classes: "onyx-groupbox-header"
  32. });