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
This commit is contained in:
slhx agent
2026-05-26 00:09:07 +02:00
parent 0b6ad64d98
commit 5364135c5e
5 changed files with 45 additions and 6 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ 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,
Form, FormModel, FormValue, Handle, IntoEffect, KeyedSlot, Slot,
EventName, Form, FormModel, FormValue, Handle, IntoEffect, KeyedSlot, Slot,
};
pub use slhx_derive::{app, component, form, handler, surface};
}