How could transform a string to DOM? #1381
Answered
by
gbj
thanhdatvo
asked this question in
Q&A
-
How could transform a string to DOM? |
Beta Was this translation helpful? Give feedback.
Answered by
gbj
Jul 19, 2023
Replies: 1 comment 1 reply
-
It looks to me like you want the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
thanhdatvo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks to me like you want the
inner_html
method onHtmlElement
, which you can also use as an attribute in the view macro:<div inner_html="<p>Hello!</p>"/>