fullscreen-polyfill
Version:
A simple polyfill implementation of W3C's JavaScript Fullscreen API spec. Don't worry about the vendor specific Fullscreen API.
28 lines (16 loc) • 835 B
Markdown
[](https://travis-ci.org/nguyenj/fullscreen-polyfill)
# fullscreen.polyfill.js
A simple polyfill implementation of W3C's [JavaScript Fullscreen API](https://fullscreen.spec.whatwg.org/) spec. Don't worry about the vendor specific Fullscreen API.
The polyfill is created using the vendor specific Fullscreen API from [MDN's JavaScript Fullscreen API table prefixes](https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API#Prefixing).
## Install
### npm
```
npm install --save fullscreen-polyfill
```
### yarn
```
yarn add fullscreen-polyfill
```
## [Browser support](https://caniuse.com/#feat=fullscreen)
## License
[MIT](https://github.com/nguyenj/fullscreen-polyfill/blob/master/LICENSE.md) © [John Nguyen](http://jnguyen.me)