1.0.1 • Published 2 years ago

iframe-test v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

iframe-test

description

Iframe based parent-child communication and parameter transmission

install

npm i iframe-test
yarn add iframe-test

Usage

This package includes two function : one is parent to child and another is child to parent.The function parent to child includes four params:the first is window object of iframe node,the second is identifier of type string,the third is an object contains 18 parameters and last is permission table of object type.The function child to parent includes third parameters:the first is identifier of type string,the second is an object contains 18 parameters and last is permission table of object type.

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build