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.

15 lines
429 B

  1. /**
  2. _onyx.PickerButton_ is a button that, when tapped, shows an
  3. <a href="#onyx.Picker">onyx.Picker</a>. Once an item is selected, the list
  4. of items closes, but the item stays selected and the PickerButton displays
  5. the choice that was made.
  6. */
  7. enyo.kind({
  8. name: "onyx.PickerButton",
  9. kind: "onyx.Button",
  10. handlers: {
  11. onChange: "change"
  12. },
  13. change: function(inSender, inEvent) {
  14. this.setContent(inEvent.content);
  15. }
  16. });