add remove toggleItems tips for fireball/issues/6416

This commit is contained in:
knoxHuang
2017-09-28 17:26:26 +08:00
parent 635a4b1c87
commit 6e4a674a45
+2 -1
View File
@@ -61,7 +61,8 @@ var ToggleGroup = cc.Class({
* @property {Array} toggleItems
*/
toggleItems: {
get: function (){
get: function () {
cc.warn("The ToggleGroup.toggleItems api will be removed in v2.0, please obtain toggles in other ways. \uD83D\uDE30");
return this._toggleItems;
}
}