Solved
How do I add a simple 10 second delay after a button is pressed?
This is what i have tried:
$scope.step2=function() {
pause(10000);
$scope.view.wdg['bar-sm']['visible']=false;
}
The script stops after pause, but does not move to next command
This is what i have tried:
$scope.step2=function() {
pause(10000);
$scope.view.wdg['bar-sm']['visible']=false;
}
The script stops after pause, but does not move to next command
You can use $timeout to achieve this. Check out the AngularJS documentation for more information: AngularJS
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.