1 Reply Latest reply on Jan 9, 2018 2:25 PM by dabele RSS
    dabele Newbie

    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