storybook/lib/channel-postmessage
Michael Shilman 0e4076e643 v6.0.0-beta.4
2020-05-08 20:59:59 +08:00
..
2020-05-01 16:54:45 +02:00
2020-05-08 20:59:59 +08:00

Storybook PostMessage Channel

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