Skip to content
New issue

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

Add fullscreen.enabled() #9

Merged

Conversation

jandet-zz
Copy link
Contributor

This adds support for checking if fullscreen is enabled (which is more than simply checking if the API is supported and available). One example of when this differs is this will return false when an iframe does not have the allowfullscreen attribute.

More details:
https://fullscreen.spec.whatwg.org/#dom-document-fullscreenenabled
https://fullscreen.spec.whatwg.org/#fullscreen-enabled-flag

Let me know if you'd like me to add more clarifying detail to the README!

@chrisdickinson
Copy link
Owner

Rad! Thanks for this (& sorry for the delay.) Merging and publishing as v1.1.0!

@chrisdickinson chrisdickinson merged commit 723182e into chrisdickinson:master Jun 18, 2016
@jandet-zz
Copy link
Contributor Author

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants