Closed jmcountryman closed 3 years ago
Adds a dispatchFunction option to Provider.init.
dispatchFunction
Provider.init
For usage outside the context of iframes (e.g. a web app running in a webview), allows specifying a function to use to send messages to the Consumer instead of parent.postMessage.
parent.postMessage
cc @mhemesath @roxjcalderon
Summary
Adds a
dispatchFunction
option toProvider.init
.Additional Details
For usage outside the context of iframes (e.g. a web app running in a webview), allows specifying a function to use to send messages to the Consumer instead of
parent.postMessage
.