3.4.3 • Published 6 years ago

@nlabs/storybook-channel-postmessage v3.4.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Storybook PostMessage Channel

Build Status on CircleCI CodeFactor Known Vulnerabilities BCH compliance codecov


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 '@nlabs/storybook-channel-postmessage';

const channel = createChannel({ key: 'postmsg-key' });

For more information visit: storybook.nitrogenlabs.com