JSPM

@storybook/channel-postmessage

0.0.0-pr-23897-sha-78c2d886
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2021763
  • Score
    100M100P100Q215722F
  • License MIT

Package Exports

  • @storybook/channel-postmessage
  • @storybook/channel-postmessage/package.json

Readme

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