Comments (2)
This question doesn't belong to this repository because it isn't an issue regarding the demos, so I'm closing it.
However, to reply to your question, consider that what you mentioned is an important difference. Besides, the API has 4 states (hidden, visible, prerender, unloaded) that you don't have with the blur/focus mechanism. In the specifications page there is also a note that might interest you:
The Page Visibility API enables third party content on a web page to determine the visibility of the Document contained by the top level browsing context with higher precision compared to existing mechanisms, like focus or blur events. However, for practical considerations, the additional exposure is not substantial.
from html5-api-demos.
Thank you for responding :) . I was just looking for a way to contact you and couldn't find other way how to ask this.
from html5-api-demos.
Related Issues (13)
- Please consider a gh-pages branch for github hosting. HOT 2
- Web Speech api HOT 1
- LightSensor
- Update the getUserMedia API article and Demo
- Use screen dimensions ratio as fallback for orientation API
- Api not supported HOT 1
- Update the Screen Orientation API demo
- Update the Web Notifications API demo HOT 2
- Update the Battery Status API article and demo HOT 1
- SpeechSynthesisVoice bug HOT 3
- lang issue on web speech api HOT 1
- Not working in chrome HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html5-api-demos.