Install
$ npm install --save frametalk
One way usage
Send a message to another frame.
const frametalk = ; // Frame A: send a message to frame Bframetalk; // Frame B: receive message from frame Aframetalk;
Two way usage
Send a message to another frame and get a response back
const frametalk = ; // Frame A: send request to frame B, and await replyframetalk ; // Frame B: receive message from frame A, and send reply backframetalk;
You can also respond with a promise:
frametalk;