defineParts not documented #1013
-
Looking for some guidance on how to use defineParts. Some help would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Docs would be cool! AFAIK ark/zag.js automatically adds the Using
|
Beta Was this translation helpful? Give feedback.
Docs would be cool! AFAIK ark/zag.js automatically adds the
data-part
attributes to each dom element it creates. then when you define a recipe (using anatomy from ark -> zag) the css() or recipe() maps to these data-part selectors.Using
ark
orzag.js
Ark does this automa…