I am using the ng-disabled
directive to control when a button on my page can be clicked. Is it possible to control this via a timer? I would like the button to be disbaled until 5 seconds have elapsed. My HTML is currently:
<div ng-controller="ResetController">
<button ng-click="reset()">Reset</button>
</div>
Aucun commentaire:
Enregistrer un commentaire