We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hope someone solve this problem. I want to open page fullscreen automatically, when i jump to the new page with window.location.href.
The text was updated successfully, but these errors were encountered:
Hi @nicky132 ,
Could you possibly try wrapping your function call in a conditions like this.
if (screenfull.isEnabled) { screenfull.toggle(); }
This seemed to fix my problem.
Sorry, something went wrong.
Hi @nicky132 , Could you possibly try wrapping your function call in a conditions like this. if (screenfull.isEnabled) { screenfull.toggle(); } This seemed to fix my problem.
I tried this but I am still getting the error. The strange thing is that despite the error it still goes into fullscreen mode
Could you try using if (screenfull.isEnabled) { screenfull?.toggle(); } It worked for me. it either executes when available or returns undefined.
if (screenfull.isEnabled) { screenfull?.toggle(); }
No branches or pull requests
Hope someone solve this problem.
I want to open page fullscreen automatically, when i jump to the new page with window.location.href.
The text was updated successfully, but these errors were encountered: