renderHtml with nested tags and each tag with class/style #1896
Answered
by
philippkuehn
kevinmelo
asked this question in
Questions & Help
-
There is a way in the renderHTML to return nest tags? and each tag having his own class/style? when render, render something like this:
|
Beta Was this translation helpful? Give feedback.
Answered by
philippkuehn
Sep 16, 2021
Replies: 1 comment 2 replies
-
of course you can renderHTML() {
return [
'div',
{ class: 'my-class-1' },
[
'div',
{ class: 'my-class-2' },
0,
],
]
} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
kevinmelo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
of course you can