Download Latest Version v6.0.2 source code.zip (11.2 kB)
Email in envelope

Get an email when there's a new version of screenfull

Home / v6.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2021-11-03 822 Bytes
v6.0.0 source code.tar.gz 2021-11-03 7.4 kB
v6.0.0 source code.zip 2021-11-03 11.2 kB
Totals: 3 Items   19.4 kB 0

Breaking

  • This package is now pure ESM. Please read this.
  • If you cannot easily move to ESM. Just stay on version 5.2.0. It's stable and fine.
  • This package now uses modern JavaScript syntax. If you need support for older browsers, you need to transpile the code with Babel.
  • A minified version is no longer provided in the package. It's better to minify your project as a whole in your own build step.
  • screenfull.element is now undefined instead of null when there's no fullscreen element.
  • The document global is no longer polyfilled. If you run this package in a non-browser environment, it's up to you to polyfill required browser globals.

https://github.com/sindresorhus/screenfull.js/compare/v5.2.0...v6.0.0

Source: README.md, updated 2021-11-03