@storybook/channel-postmessage
TypeScript icon, indicating that this package has built-in type declarations

7.6.17 • Public • Published

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

/@storybook/channel-postmessage/

    Package Sidebar

    Install

    npm i @storybook/channel-postmessage

    Weekly Downloads

    2,581,320

    Version

    7.6.17

    License

    MIT

    Unpacked Size

    3.94 kB

    Total Files

    6

    Last publish

    Collaborators

    • domyen
    • kasperpeulen
    • valentinpalkovic
    • jreinhold
    • kylegach
    • ndelangen
    • shilman
    • tmeasday
    • ghengeveld
    • winkervsbecks
    • yannbf