using of $timeout
Hi everyone,
i am currently trying to make a HoloLense experience with two views, where i can switch between these views with a voice command.
I created an application event "Switch view" and linked it to the "Navigate" option of both views. This works fine, whenever i say "Switch view" it immediatelly switches.
But now i want to make this a little bit slower, with a delay of 1second for example. I tried to use $timeout but:
How do i use it and where do I have to write the command? (in Home.js or into the JS of the application event)
Thank you all for your help!

