Skip to content

0.7 get inherited attributes? #2922

Closed Answered by gbj
Upbolt asked this question in Q&A
Sep 4, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

In 0.7 you can just add attributes to a component and they will be added to the element(s) it returns. See the spread example.

Feel free to provide more details if this does not suit your needs.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Upbolt
Comment options

@Upbolt
Comment options

@gbj
Comment options

Answer selected by Upbolt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants