euv-core 0.3.37

A declarative, cross-platform UI framework for Rust with virtual DOM, reactive signals, and HTML macros for WebAssembly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// The property name used to store the dispatch callback on the `window` object.
///
/// This key is used by `ensure_dispatch_callback` to register a `Closure`
/// on the global `window` so it can be invoked via `queueMicrotask`.
pub(crate) const EUV_DISPATCH: &str = "__euv_dispatch";

/// The name of the browser API used to schedule a microtask.
///
/// This is the standard `queueMicrotask` function available on the `window`
/// object, used to defer the dispatch callback until the next microtask checkpoint.
pub(crate) const QUEUE_MICROTASK: &str = "queueMicrotask";