screenfull
Advanced tools
Comparing version 5.1.0 to 5.2.0
@@ -50,3 +50,3 @@ /// <reference lib="dom"/> | ||
@param element - Default is `<html>`. If called with another element than the currently active, it will switch to that if it's a decendant. | ||
@param element - Default is `<html>`. If called with another element than the currently active, it will switch to that if it's a descendant. | ||
@param options - [`FullscreenOptions`](https://developer.mozilla.org/en-US/docs/Web/API/FullscreenOptions). | ||
@@ -106,3 +106,3 @@ @returns A promise that resolves after the element enters fullscreen. | ||
@param element - Default is `<html>`. If called with another element than the currently active, it will switch to that if it's a decendant. | ||
@param element - Default is `<html>`. If called with another element than the currently active, it will switch to that if it's a descendant. | ||
@param options - [`FullscreenOptions`](https://developer.mozilla.org/en-US/docs/Web/API/FullscreenOptions). | ||
@@ -171,5 +171,5 @@ @returns A promise that resolves after the element enters/exits fullscreen. | ||
*/ | ||
declare const screenfull: screenfull.Screenfull | {isEnabled: false}; | ||
declare const screenfull: screenfull.Screenfull; | ||
export = screenfull; | ||
export as namespace screenfull; |
/*! | ||
* screenfull | ||
* v5.1.0 - 2020-12-24 | ||
* v5.2.0 - 2021-11-03 | ||
* (c) Sindre Sorhus; MIT License | ||
@@ -5,0 +5,0 @@ */ |
{ | ||
"name": "screenfull", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"description": "Simple wrapper for cross-browser usage of the JavaScript Fullscreen API, which lets you bring the page or any element into fullscreen.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -5,2 +5,4 @@ # screenfull.js | ||
**[Not supported on iPhone](#support)** | ||
**This package is feature complete. No new features will be accepted.** | ||
@@ -16,4 +18,4 @@ | ||
[min]: https://github.com/sindresorhus/screenfull.js/raw/master/dist/screenfull.min.js | ||
[max]: https://github.com/sindresorhus/screenfull.js/raw/master/dist/screenfull.js | ||
[min]: https://github.com/sindresorhus/screenfull.js/raw/main/dist/screenfull.min.js | ||
[max]: https://github.com/sindresorhus/screenfull.js/raw/main/dist/screenfull.js | ||
@@ -200,3 +202,3 @@ ``` | ||
The default element is `<html>`. If called with another element than the currently active, it will switch to that if it's a decendant. | ||
The default element is `<html>`. If called with another element than the currently active, it will switch to that if it's a descendant. | ||
@@ -203,0 +205,0 @@ If your page is inside an `<iframe>` you will need to add a `allowfullscreen` attribute (+ `webkitallowfullscreen` and `mozallowfullscreen`). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18128
288