jingdata-fe-bridge
v1.0.3
Published
A post-message bridge
Downloads
1
Readme
jingdata-fe-bridge
Useage
- Install
yarn add jingdata-fe-bridge
- New Birdge Object
const bridge = new window.FeBridge({
key: 'demo',
name: 'demo',
target: window.parent,
})
- Init
bridge.init(()=>{
bridge.log('connected');
});
Note
See src/example