make tui agnostic over framework

This commit is contained in:
Evan Almloff committed 2023-02-06 21:28:48 -06:00
1 parent 05b968e8e4
commit c805bc25af
18 files changed
+262 -257

No files matched your search

+1 -1
View File
@@ -241,7 +241,7 @@ fn create_template_node(rdom: &mut RealDom, node: &TemplateNode) -> NodeId {
}
}
trait NodeImmutableDioxusExt<V: FromAnyValue + Send + Sync>: NodeImmutable<V> {
pub trait NodeImmutableDioxusExt<V: FromAnyValue + Send + Sync>: NodeImmutable<V> {
fn mounted_id(&self) -> Option<ElementId> {
self.get().copied()
}