Have ideas to improve npm?Join in the discussion! »

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

    6.2.9 • 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

    Keywords

    Install

    npm i @storybook/channel-postmessage

    DownloadsWeekly Downloads

    3,159,272

    Version

    6.2.9

    License

    MIT

    Unpacked Size

    29.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar