Socket
Book a DemoInstallSign in
Socket

on-full-screen

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

on-full-screen

Cross-browser wrapper for the `onfullscreen` event.

latest
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

on-full-screen

Cross-browser wrapper for the onfullscreen event.

How to use

import ofs from 'on-full-screen';
import isFs from 'is-full-screen';
const dispose = ofs(() => {
  if (isFs()) {
    console.log('we are fullscreened');
  }
});
setTimeout(dispose, 1000)

License

MIT

FAQs

Package last updated on 13 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts