mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 16:52:43 +08:00
Merge pull request #2010 from knoxHuang/v1.6
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