Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-easyfullscreen

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-easyfullscreen - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

1

dist/ReactFullScreen/index.js

@@ -36,2 +36,3 @@ "use strict";

ref: ref,
isEnabled: _screenfull["default"].isEnabled,
onToggle: function onToggle() {

@@ -38,0 +39,0 @@ _screenfull["default"].toggle(ref.current);

24

package.json
{
"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 |
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc