react-easyfullscreen
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -36,2 +36,3 @@ "use strict"; | ||
ref: ref, | ||
isEnabled: _screenfull["default"].isEnabled, | ||
onToggle: function onToggle() { | ||
@@ -38,0 +39,0 @@ _screenfull["default"].toggle(ref.current); |
{ | ||
"name": "react-easyfullscreen", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Component that performs fullscreen in DOM Elements", | ||
@@ -36,10 +36,10 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@babel/cli": "^7.5.5", | ||
"@babel/core": "^7.5.5", | ||
"@babel/cli": "^7.6.0", | ||
"@babel/core": "^7.6.0", | ||
"@babel/plugin-proposal-class-properties": "^7.5.5", | ||
"@babel/plugin-transform-runtime": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/plugin-transform-runtime": "^7.6.0", | ||
"@babel/preset-env": "^7.6.0", | ||
"@babel/preset-react": "^7.0.0", | ||
"@testing-library/dom": "^6.1.0", | ||
"@babel/register": "^7.5.5", | ||
"@testing-library/dom": "^6.2.0", | ||
"@babel/register": "^7.6.0", | ||
"babel-eslint": "^10.0.3", | ||
@@ -49,4 +49,4 @@ "babel-jest": "^24.9.0", | ||
"cross-env": "^5.2.1", | ||
"eslint": "^6.3.0", | ||
"eslint-plugin-jest": "^22.16.0", | ||
"eslint": "^6.4.0", | ||
"eslint-plugin-jest": "^22.17.0", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
@@ -60,9 +60,9 @@ "eslint-plugin-prettier": "^3.1.0", | ||
"react-dom": "^16.9.0", | ||
"webpack": "^4.39.3", | ||
"webpack-cli": "^3.3.7", | ||
"webpack": "^4.40.2", | ||
"webpack-cli": "^3.3.8", | ||
"webpack-dev-server": "^3.8.0" | ||
}, | ||
"dependencies": { | ||
"screenfull": "^4.2.1" | ||
"screenfull": "^5.0.0" | ||
} | ||
} |
@@ -65,1 +65,11 @@ # React FullScreen | ||
| onError | func | Call in error | | ||
### Children Function Properties | ||
| Prop | Type | Description | | ||
| --------- | ------ | --------------------------- | | ||
| ref | object | Ref dom element | | ||
| isEnabled | bool | If it's possible fullscreen | | ||
| onToggle | func | Call for fullscreen toggle | | ||
| onExit | func | Call for fullscreen exit | | ||
| onRequest | func | Call for fullscreen enter | |
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
7633
58
75
+ Addedscreenfull@5.2.0(transitive)
- Removedscreenfull@4.2.1(transitive)
Updatedscreenfull@^5.0.0