We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to map HTML strings to RSX! I searched for everything about Dioxus but couldn't find it. For example, converting "<p>abc</p><h1>123</h1>" into:
"<p>abc</p><h1>123</h1>"
Rsx! { P {"abc"}, H1 {"123"}, }
The text was updated successfully, but these errors were encountered:
You can use something like this
let contents = "live <b>dangerously</b>"; rsx! { div { dangerous_inner_html: "{contents}" } }
For more detail Check https://dioxuslabs.com/learn/0.5/reference/rsx
Sorry, something went wrong.
No branches or pull requests
How to map HTML strings to RSX!
I searched for everything about Dioxus but couldn't find it.
For example, converting
"<p>abc</p><h1>123</h1>"
into:
The text was updated successfully, but these errors were encountered: