1.1.31 • Published 5 years ago
config-manager-cross-frame v1.1.31
Config Manager Cross Frame
Helper React Component to manage all direct cross frame communication with Configuration Manager
How to use
- Instantiate
CMCrossFrameApplicationanywhere in the React Hierarchy as a singleton component - Optionally provide the
onMessageFromCMprop to handle actions from Config Manager - Optionally provide the
targetOriginprop for Config Manager (if known and stable) to increase secure communications - Use
sendCMCrossFrameMessageToConfigManagermethod to send actions to Config Manager (or various helper methods)
How to publish
- Essentially, you just need to bump the version number and run
npm publish - This can be done automatically and with test and lint by using
npm run bumpVersionthennpm run publish