Expand description
Component trait + per-call context types.
Structs§
- Browser
Dispatch - Component
Emit - Ctx
- Per-call context carried through action dispatch.
- Mount
Props - Mount-time props — the JSON object passed via the
@spark("name", { ... })directive. - Property
Write - A property write from the browser:
{ name: "draft", value: "hello" }.
Traits§
- Component
- User-facing trait — implemented for every Spark component by the
#[spark::component]attribute macro on the struct +#[spark::actions]on the impl block.