5364135c5e
Generate EventName constants for data-slhx-on metadata and exercise them through typed event emission in techdemo. req: codegen/006
16 lines
591 B
Rust
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};
|
|
}
|