button-group.js revision f2f4cf0bf9baecf5e1c484ed72786b03062e83cf
var ButtonGroup = function (config) {
var ATTRS = {
selection : {
value : [],
getter: function(){
var selected = [];
}
});
return selected;
}
},
type: {
value: 'radio',
}
}
};
}
});
}
}, this);
}
};
};
}
});
return selected;
};
selected = this.getSelectedButtons();
});
return values;
};
}
//button.on('selectedChange', this._onButtonSelectedChange, this);
};
// This is only fired if the group type is a radio
e.preventDefault();
return false;
}
else {
/* Nothing? */
}
};
};
var fireChange, buttons;
fireChange = false;
fireChange = true;
}
else {
/* Nothing */
}
});
}
fireChange = true;
}
if (fireChange) {
this.fire('selectionChange');
}
};
Y.ButtonGroup = ButtonGroup;