Skip to main content

euv_core/
lib.rs

1//! euv
2//!
3//! A declarative, cross-platform UI framework for Rust with virtual DOM,
4//! reactive signals, and HTML macros for WebAssembly.
5
6mod event;
7mod reactive;
8mod renderer;
9mod vdom;
10
11pub use {event::*, reactive::*, renderer::*, vdom::*};
12
13#[cfg(test)]
14use std::cell::Cell;
15use std::{
16    any::Any,
17    borrow::Cow,
18    cell::{Ref, RefCell, RefMut, UnsafeCell},
19    collections::HashMap,
20    ops::{Deref, DerefMut},
21    ptr::null_mut,
22    rc::Rc,
23    sync::atomic::{AtomicBool, AtomicUsize, Ordering},
24};
25
26#[cfg(target_arch = "wasm32")]
27use {
28    js_sys::{Function, Reflect},
29    wasm_bindgen::closure,
30};
31use {
32    lombok_macros::*,
33    wasm_bindgen::JsCast,
34    wasm_bindgen::prelude::*,
35    web_sys::{
36        ClipboardEvent, Document, DragEvent, Element, Event, HtmlButtonElement, HtmlElement,
37        HtmlInputElement, HtmlOptionElement, HtmlSelectElement, HtmlTextAreaElement, InputEvent,
38        KeyboardEvent, MouseEvent, Node, SubmitEvent, Text, Touch, TouchEvent, TouchList,
39        WheelEvent, Window, window,
40    },
41};