storybook/lib/channel-postmessage
Michael Shilman 0be4efcec8 v3.2.15
2017-11-10 11:39:27 +09:00
..
2017-09-06 00:54:12 +02:00
2017-11-10 11:39:27 +09:00
2017-10-23 16:13:59 +02:00

Storybook PostMessage Channel

Build Status on CircleCI CodeFactor Known Vulnerabilities BCH compliance codecov
Storybook Slack Backers on Open Collective Sponsors on Open Collective


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: storybook.js.org