const { ccclass , property } = cc . _decorator ; @ ccclass export abstract class Item < T > extends cc . Component { abstract getData ( ) ; abstract bindData ( currentIndex , data ) ; abstract reset ( currentIndex ) ; abstract select ( selected ) ; abstract getClickButton ( ) ; }