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 RSX macros for WebAssembly.
5
6pub mod component;
7pub mod event;
8pub mod platform;
9pub mod reactive;
10pub mod renderer;
11pub mod vdom;
12
13pub use {component::*, event::*, reactive::*, renderer::*, vdom::*};
14
15#[cfg(test)]
16use std::cell::Cell;
17
18use std::{
19    any::Any,
20    cell::{RefCell, RefMut, UnsafeCell},
21    collections::HashMap,
22    ops::{Deref, DerefMut},
23    ptr::null_mut,
24    rc::Rc,
25    sync::atomic::{AtomicBool, AtomicUsize, Ordering},
26};
27
28use {
29    lombok_macros::*,
30    wasm_bindgen::JsCast,
31    wasm_bindgen::prelude::*,
32    web_sys::{
33        ClipboardEvent, Document, DragEvent, Element, Event, HtmlButtonElement, HtmlElement,
34        HtmlInputElement, HtmlOptionElement, HtmlSelectElement, HtmlTextAreaElement, InputEvent,
35        KeyboardEvent, MouseEvent, Node, SubmitEvent, Text, TouchEvent, WheelEvent, Window, window,
36    },
37};