Skip to main content

Crate euv

Crate euv 

Source
Expand description

euv

A declarative, cross-platform UI framework for Rust with virtual DOM, reactive signals, and HTML macros for WebAssembly.

Re-exports§

pub use console_error_panic_hook;
pub use js_sys;
pub use wasm_bindgen;
pub use wasm_bindgen_futures;
pub use web_sys;

Macros§

class
The class! macro for defining CSS classes with style properties.
computed
The computed! macro for creating reactive computed signals.
html
The html! macro for writing declarative UI in euv.
var
The var! macro for referencing CSS custom properties defined via vars!.
vars
The vars! macro for defining CSS custom properties.
watch
The watch! macro for creating reactive side effects.

Structs§

App
A zero-sized application context struct providing access to core euv framework APIs.
AttrValueAdapter
Adapts an arbitrary attribute value expression into an AttributeValue.
AttributeEntry
Represents a single attribute on a virtual DOM node.
CallbackNamedAdapter
Adapts a callback with a custom name into an AttributeValue.
Css
Represents a CSS class with a name, its style declarations, and optional pseudo rules.
DynamicNode
A closure-based dynamic node that re-renders when its dependency signals change.
EventAdapter
Adapts various event value types into an AttributeValue for event attributes.
EventNamedAdapter
Adapts an event with a specific event name into an AttributeValue.
HookContext
Manages hook state across render cycles for a DynamicNode.
IntervalHandle
A handle to a browser interval timer created by use_interval.
MediaRule
Represents a CSS @media rule attached to a class.
NativeEventHandler
A wrapper around an event callback.
PseudoRule
Represents a CSS pseudo-class or pseudo-element rule attached to a class.
Signal
A reactive signal handle.
SignalCell
A Sync wrapper for single-threaded global Signal access.
TextNode
Represents a text node in the virtual DOM.

Enums§

AttributeValue
Represents the value of an HTML attribute.
Tag
Represents the type of an HTML tag or a component.
VirtualNode
Represents a node in the virtual DOM tree.

Attribute Macros§

component
The component attribute macro for marking component functions.