feat: buff up html allowed attributes
This commit is contained in:
1 parent
a05047d01e
commit
c79d9ae674
11 files changed
+803
-204
No files matched your search
@@ -1,20 +1,20 @@
|
||||
fn main() {}
|
||||
|
||||
use dioxus::*;
|
||||
use dioxus_core as dioxus;
|
||||
use dioxus_core::prelude::*;
|
||||
// use dioxus::*;
|
||||
// use dioxus_core as dioxus;
|
||||
// use dioxus_core::prelude::*;
|
||||
|
||||
static Example: FC<()> = |cx| {
|
||||
let list = (0..10).map(|f| LazyNodes::new(move |f| todo!()));
|
||||
// static Example: FC<()> = |cx| {
|
||||
// let list = (0..10).map(|f| LazyNodes::new(move |f| todo!()));
|
||||
|
||||
cx.render(LazyNodes::new(move |cx| {
|
||||
let bump = cx.bump();
|
||||
cx.raw_element("div")
|
||||
.children([
|
||||
cx.text(format_args!("hello")),
|
||||
cx.text(format_args!("hello")),
|
||||
cx.fragment_from_iter(list),
|
||||
])
|
||||
.finish()
|
||||
}))
|
||||
};
|
||||
// cx.render(LazyNodes::new(move |cx| {
|
||||
// let bump = cx.bump();
|
||||
// cx.raw_element("div")
|
||||
// .children([
|
||||
// cx.text(format_args!("hello")),
|
||||
// cx.text(format_args!("hello")),
|
||||
// cx.fragment_from_iter(list),
|
||||
// ])
|
||||
// .finish()
|
||||
// }))
|
||||
// };
|
||||
Reference in new issue
Block a user