everything.html revision f8a4451ab76c7cf265accab801c3514e64ed2742
4518N/A button.onClick(function(){
4518N/A // An alternative to button.get('srcNode').on('click', ...
4518N/A button2.on('selectedChange', function(){
4518N/A button4.set('disabled', true);
4518N/A var buttonGroup = new Y.ButtonGroup({
4518N/A buttonGroup.after('selectionChange', function(e){
4518N/A var buttonGroup2 = new Y.ButtonGroup({
4518N/A buttonGroup2.after('selectionChange', function(e){
4518N/A var selection = buttonGroup2.get('selection');
4518N/A Y.Buttons adds nothing useful for the gernator buttons, so just add the class and a listener.
4518N/A type = e.target.getAttribute('data-type');
4518N/A config.type = 'push';
4518N/A config.disabled = true;
4518N/A config.type = type;
4518N/A button = new Y.ButtonGenerator(config);