mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 18:42:40 +08:00
add remove toggleItems tips for fireball/issues/6416
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user