add missing global attributes (#546)
This commit is contained in:
1 parent
02a21bc193
commit
d4d5d2733e
1 file changed
+15
-3
@@ -59,7 +59,8 @@ pub trait GlobalAttributes {
|
|||||||
|
|
||||||
no_namespace_trait_methods! {
|
no_namespace_trait_methods! {
|
||||||
accesskey;
|
accesskey;
|
||||||
|
autocapitalize;
|
||||||
|
autofocus;
|
||||||
/// The HTML class attribute is used to specify a class for an HTML element.
|
/// The HTML class attribute is used to specify a class for an HTML element.
|
||||||
///
|
///
|
||||||
/// ## Details
|
/// ## Details
|
||||||
@@ -93,17 +94,28 @@ pub trait GlobalAttributes {
|
|||||||
data;
|
data;
|
||||||
dir;
|
dir;
|
||||||
draggable;
|
draggable;
|
||||||
|
enterkeyhint;
|
||||||
|
exportparts;
|
||||||
hidden;
|
hidden;
|
||||||
id;
|
id;
|
||||||
|
inputmode;
|
||||||
|
is;
|
||||||
|
itemid;
|
||||||
|
itemprop;
|
||||||
|
itemref;
|
||||||
|
itemscope;
|
||||||
|
itemtype;
|
||||||
lang;
|
lang;
|
||||||
|
nonce;
|
||||||
|
part;
|
||||||
|
role;
|
||||||
|
slot;
|
||||||
spellcheck;
|
spellcheck;
|
||||||
style;
|
style;
|
||||||
tabindex;
|
tabindex;
|
||||||
title;
|
title;
|
||||||
translate;
|
translate;
|
||||||
|
|
||||||
role;
|
|
||||||
|
|
||||||
/// dangerous_inner_html is Dioxus's replacement for using innerHTML in the browser DOM. In general, setting
|
/// 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)
|
/// 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
|
/// attack. So, you can set HTML directly from Dioxus, but you have to type out dangerous_inner_html to remind
|
||||||
|
|||||||
Reference in new issue
Block a user