Navigate view after all steps finished playing
Hi,
I have multiple views in a project.
Hi,
I have multiple views in a project.
That should not be possible unless you also kept the first solution. ( But it should wait until the step is completed anyway)
To rewind a step just add a button and connect the click event with the rewind service of the model.
If you want to make sure the last step is finished before the user can change the view you can change condition of the if statement:
if($scope.view.wdg["model-1"].currentStep == $scope.view.wdg["model-1"].steps && $scope.view.wdg["model-1"].playing == false)
If it still does not work can you please share an example how you are trying to do it. Thanks.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.