/**
	_onyx.PickerButton_ is a button that, when tapped, shows an
	<a href="#onyx.Picker">onyx.Picker</a>. Once an item is selected, the list
	of items closes, but the item stays selected and the PickerButton displays
	the choice that was made.

	For more information, see the documentation on
	[Pickers](https://github.com/enyojs/enyo/wiki/Pickers) in the Enyo Developer
	Guide.
 */
enyo.kind({
	name: "onyx.PickerButton",
	kind: "onyx.Button",
	handlers: {
		onChange: "change"
	},
	change: function(inSender, inEvent) {
		this.setContent(inEvent.content);
	}
});