[docs][web-components]: add property assignment script to code snippet #23115
bennypowers
started this conversation in
Ideas
Replies: 1 comment
-
This is something that I have set up in my storybook helpers, but would like to get added to the storybook repo eventually. It splits the properties into their own category and has data binding set up for the controls (if you are using the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We should think about how to handle properties as for some cases the source wouldn't really show the state of the component. This is a little different from frameworks as the difference between attributes and properties are abstracted away. My initial idea is to a script tag that populates properties.
Originally posted by @brion-fuller in #15337 (comment)
Beta Was this translation helpful? Give feedback.
All reactions