📜  角度禁用点击 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:43.562000             🧑  作者: Mango

代码示例1
try like this



@Input() isDisabled: boolean = false;
@Output() btnClick = new EventEmitter();
Use Output and By default the button click event won't work if button is disabled. take advantage of it

 submit