react-iframe-comm
Advanced tools
Comparing version 1.0.0 to 1.0.2
{ | ||
"name": "react-iframe-comm", | ||
"version": "1.0.0", | ||
"version": "1.0.2", | ||
"description": "A React component for communicating between a parent window and an iframe.", | ||
"main": "src/IframeComm.js", | ||
"author": "Petar Bojinov", | ||
"author": "Petar Bojinov <petarbojinov@gmail.com>", | ||
"bugs": { | ||
"url": "https://github.com/pbojinov/react-iframe-comm/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/pbojinov/react-iframe-comm.git" | ||
}, | ||
"keywords": [ | ||
"react", | ||
"iframe", | ||
"communication", | ||
"comm", | ||
"postMessage", | ||
"react-component" | ||
], | ||
"license": "MIT", | ||
@@ -8,0 +23,0 @@ "dependencies": { |
@@ -24,3 +24,5 @@ React iFrame communication | ||
npm install react-iframe-comm --save | ||
``` | ||
npm install react-iframe-comm --save | ||
``` | ||
@@ -46,3 +48,4 @@ At this point you can import `react-iframe-comm` in your application as follows: | ||
width: "100%", | ||
height: "175" | ||
height: "175", | ||
frameBorder: 1, // show frame border just for fun... | ||
}; | ||
@@ -56,3 +59,3 @@ | ||
const onReceiveMessage = () => { | ||
console.log("handleReceiveMessage"); | ||
console.log("onReceiveMessage"); | ||
}; | ||
@@ -59,0 +62,0 @@ |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
2634082
24
9282
1
82
0