is there any alternative for ng-disabled in angular2?

后端 未结 5 2107
孤独总比滥情好
孤独总比滥情好 2020-12-02 14:03

I am using angular2 for development and was wondering if there is any alternative for ng-disabled in angular2.

For ex. below code is in angularJS:

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-02 14:29

    To set the disabled property to true or false use

    
    

提交回复
热议问题