Files
hemx/slhx/src/lib.rs
T
slhx agent 5364135c5e feat(build): type generated event constants
Generate EventName constants for data-slhx-on metadata and exercise them through typed event emission in techdemo.

req: codegen/006
2026-05-26 00:09:07 +02:00

16 lines
591 B
Rust

//! Public authoring facade for slhx applications.
//!
//! Most application code should depend on this crate, use the proc-macros from
//! here, and import generated resources through `#[slhx::surface]`.
pub use slhx_core::*;
pub use slhx_derive::{app, component, form, handler, surface};
pub mod prelude {
pub use slhx_core::{
navigate, push, redirect, replace, Atom, BuildFingerprint, CssClass, CssClasses, Effect,
EventName, Form, FormModel, FormValue, Handle, IntoEffect, KeyedSlot, Slot,
};
pub use slhx_derive::{app, component, form, handler, surface};
}