Skip to content

dhashvir/blog-wakelock-api

Repository files navigation

🚀Wake Lock API

Link to demo: https://dhashvir.github.io/blog-wakelock-api/

This demo will request a screen wake lock when the request button is clicked.

If page visibility is changed while it has an active lock, it will reacquire the lock when it is visible again.

Associated blog: https://medium.com/@dhashvir/how-to-setup-a-typescript-project-to-use-wake-lock-api-e2243512c012

This project has been created using webpack-cli, you can now run

Run local web sever

npm run serve
npm run build

or

yarn build

to bundle your application

About

A sample wake lock api implementation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors