feat: add aria

This commit is contained in:
Jonathan Kelley committed 2021-07-13 00:56:39 -04:00
1 parent c79d9ae674
commit 4091846934
11 files changed
+322 -97

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ static Example: FC<()> = |cx| {
// Expressions can be used in element position too:
{rsx!(p { "More templating!" })}
{html!(<p>"Even HTML templating!!"</p>)}
// {html!(<p>"Even HTML templating!!"</p>)}
// Iterators
{(0..10).map(|i| rsx!(li { "{i}" }))}
+4 -1
View File
@@ -2,7 +2,7 @@ use std::cell::Cell;
use dioxus::prelude::*;
use dioxus_core::{
nodes::{NodeKey, VElement, VText},
nodes::{VElement, VText},
RealDomNode,
};
@@ -23,6 +23,9 @@ const Example: FC<()> = |cx| {
Fragment {
Fragment {
"h1"
div {
}
}
"h2"
}