You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Past Example Code with addonAPI import into ./storybook/config.js
Expected behavior
Should see the example console.log behavior.
System:
OS: MacOS
Device: Macbook Pro 2017
Browser: chrome
Framework: vue
Addons: backgrounds
Version: 5.0.11
Additional context Question - My goal was to identify when the background swapped, and append a class to the root within the iFrame. Is there a better way to do this? I need to identify when the background theme was changed so the class can mimic changing a top level section to "inverse" or "dark".
Thanks!
The text was updated successfully, but these errors were encountered:
@shilman - i abandoned this and took a different approach. I added a decarator that renders multiple instances of the content, each with a different background color, and applying a different parent class, so the content could respond.
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!
Describe the bug
I can't get the example code for Background addond to trigger any console.log -
To Reproduce
Steps to reproduce the behavior:
./storybook/config.js
Expected behavior
Should see the example console.log behavior.
System:
Additional context
Question - My goal was to identify when the background swapped, and append a class to the root within the iFrame. Is there a better way to do this? I need to identify when the background theme was changed so the class can mimic changing a top level section to "inverse" or "dark".
Thanks!
The text was updated successfully, but these errors were encountered: