The web is a powerful platform that has more to offer than you might expect. There are many APIs that enrich people's experience of the web allow d...
For further actions, you may consider blocking this person and/or reporting abuse
Based on the code from GitHub:
A problem is that the hook isn't reusable with
document.onfullscreenchange
which is overwritten everytime the hook is called.Mounting it to the elRef is better so you have have multiple instances.:
Oh, neat! I never realized that was a thing :) Also nice first article in the series - detecting active/inactive is super useful in certain circumstances. Thanks!
Thanks, I’m glad you liked it. My aim is to try and illuminate some of the less well known Web APIs.