feat: wire up event delegator for webview

This commit is contained in:
Jonathan Kelley committed 2021-07-24 02:52:05 -04:00
1 parent 0a907b35c6
commit 7dfe89c958
21 files changed
+265 -272

No files matched your search

+3 -4
View File
@@ -5,10 +5,9 @@ fn main() {
use dioxus_elements::{GlobalAttributes, SvgAttributes};
__cx.element(
dioxus_elements::button,
__cx.bump()
.alloc([dioxus::events::on::onclick(__cx, move |_| {})]),
__cx.bump().alloc([]),
__cx.bump().alloc([]),
[dioxus::events::on::onclick(__cx, move |_| {})],
[],
[],
None,
)
});