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

6.2.9 • Public • Published

example addon: roundtrip

This addon uses the channel to communicate a message to the preview and back

This can be useful to perform some analysis on the rendered html. An example of this would be the accessibility addon (a11y) which uses the amazing axe library to send a list of errors/warnings to the manager.

Other uses include:

  • making DOM changes in the iframe
  • fire DOM events in the iframe

Package Sidebar

Install

npm i @storybook/addon-roundtrip

Weekly Downloads

3

Version

6.2.9

License

MIT

Unpacked Size

20.6 kB

Total Files

25

Last publish

Collaborators

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