feat: namespaced attributes
this commit adds namespaced attributes. This lets us support attribute groups, and thus, inline styles. This namespaced attribute stuff is only available for styles at the moment, though it theoretically could be enabled for any other attributes.
This commit is contained in:
1 parent
a4bf3d9862
commit
22e659c2bd
18 files changed
+612
-3129
No files matched your search
@@ -11,16 +11,6 @@ use dioxus_core::{
|
||||
use serde::{Deserialize, Serialize};
|
||||
use DomEdits::*;
|
||||
|
||||
fn test() {
|
||||
const App: FC<()> = |cx| cx.render(rsx! { div {}});
|
||||
let mut vi = VirtualDom::new(App);
|
||||
let mut real = WebviewDom {
|
||||
edits: Vec::new(),
|
||||
node_counter: 0,
|
||||
};
|
||||
vi.rebuild(&mut real);
|
||||
}
|
||||
|
||||
pub struct WebviewDom<'bump> {
|
||||
pub edits: Vec<DomEdits<'bump>>,
|
||||
pub node_counter: u64,
|
||||
|
||||
Reference in new issue
Block a user