storybook/lib/channel-postmessage
Norbert de Langen 991edf3f45 UPDATE readmes
2017-05-17 00:21:36 +02:00
..
2017-05-17 00:21:36 +02:00

Storybook PostMessage Channel

Greenkeeper badge Build Status CodeFactor Known Vulnerabilities BCH compliance codecov Storybook Slack

Storybook PostMessage Channel is a channel for Storybook that can be used when the Storybook Renderer runs inside an iframe or a child window. A channel can be created using the createChannel function.

import createChannel from '@storybook/channel-postmessage'
const channel = createChannel({ key: 'postmsg-key' })

For more information visit: storybooks.js.org