create scafolding for the shadow dom

This commit is contained in:
Evan Almloff committed 2023-04-06 16:59:25 -05:00
1 parent 8b5f2cb02f
commit b2c87f5c47
10 files changed
+186 -137

No files matched your search

+3
View File
@@ -104,6 +104,9 @@ pub trait State<V: FromAnyValue + Send + Sync = ()>: Any + Send + Sync {
/// This is a mask of what aspects of the node are required to update this state
const NODE_MASK: NodeMaskBuilder<'static>;
/// Does the state traverse into the shadow dom?
const TRAVERSE_SHADOW_DOM: bool = false;
/// Update this state in a node, returns if the state was updated
fn update<'a>(
&mut self,