Interface: SlideDef
Defined in: types.ts:15
One slide of a deck.
Properties
content
content:
Component
Defined in: types.ts:25
The slide itself — an ordinary Solid component, mounted for the deck's whole life (slides are one scrolling document; park rAF work off-screen via useSlide().active).
id
id:
string
Defined in: types.ts:18
URL segment + stable identity ("mesh" → /gear-talk/mesh). Kebab-case, unique within the deck.
preview?
optionalpreview?:Component
Defined in: types.ts:42
The HUD-grid thumbnail — the DemoCard discipline at slide scale: a CHEAP, self-contained mini-view built from the pure model only (its own local state, no durable graph, no workers), because the HUD mounts every slide's preview at once. Omitted → a typographic tile (number + title).
steps?
optionalsteps?:number
Defined in: types.ts:35
Scene steps this slide plays before the deck moves on: the number of forward gestures the slide absorbs (its states are 0…steps; 0 is the slide as first seen). Scenes are ADDITIVE by convention — the slide's components stay mounted and share its reactive graph; an advance is a reactive read of useSlide().step() flipping CSS states (the Step helper is that idiom canned). Nothing forces additivity — a slide may switch arbitrarily on the step. Default 0: a plain slide.
title
title:
string
Defined in: types.ts:21
Human name: the slide's aria-label, its HUD caption, and its PageBoundary name.