Angular2 disable button

前端 未结 10 1762
萌比男神i
萌比男神i 2020-12-02 10:03

I know that in angular2 I can disable a button with the [disable] attribute, for example:

10条回答
  •  既然无缘
    2020-12-02 11:08

    Yes you can

    Click me!

    https://angular.io/docs/ts/latest/api/common/NgClass-directive.html

提交回复
热议问题