In my app i want to make some pages display on full screen. Basically this is what i want: "User cannot access the browser or computer desktop or take any other actions outside of window using the mouse".
I was trying to use this full screen API: https://www.npmjs.com/package/screenfull
I am working in html5/angular 5. I made a directive like suggested in angular example on the API page. I used the selector "toggleFullscreen" with a button (taking to next page) on for example page 3. If i want full screen on page 4 and 5. Than putting the selector on page 3 next button taking me to page 4 should make the full screen on page 4. But it is not working. Page 4 is not displayed on full screen.
I am quite new to angular. So can anybody suggest some other way to achieve this functionality in my code? I can not figure out why this API don`t work for me.