@lnm/channel-postmessage

1.0.0 • Public • Published

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

/@lnm/channel-postmessage/

    Package Sidebar

    Install

    npm i @lnm/channel-postmessage

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.1 kB

    Total Files

    3

    Last publish

    Collaborators

    • zygeilit