Conditionally apply click event in Angular 4

后端 未结 6 1008
执笔经年
执笔经年 2020-12-03 16:56

Is it possible to define a condition in the template based on which a click handler is attached?

For instance, the closest I can get is evaluating a condition at the

6条回答
提交回复
热议问题