Constantsยง
- The HTML class attribute is used to specify a class for an HTML element.
- dangerous_inner_html is Dioxusโs replacement for using innerHTML in the browser DOM. In general, setting HTML from code is risky because itโs easy to inadvertently expose your users to a cross-site scripting (XSS) attack. So, you can set HTML directly from Dioxus, but you have to type out dangerous_inner_html to remind yourself that itโs dangerous
- prevent_
default Deprecated This attribute has been deprecated in favor ofdioxus_core::Event::prevent_default