StoryAuto
Zeigt Autoplay-Zustand, verbleibende Lesezeit und Pausenaktion als Story-Taste mit Fortschrittsring.
src/components/story/StoryAuto.astroSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/components/story/StoryDock.astro
- Ohne state erhält der Button data-story-auto und wird durch CaseFlowMap gesteuert; state/p/sec dienen einer festen Beispieldarstellung.
- P-Tastenkürzel und aria-pressed gehören zur Story-Steuerung; der Renderer selbst startet keinen Timer.
Examples
No dedicated demo is assigned. Use the documented entry point and consumers below; this is not evidence of a missing runtime component.
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props {skip:{auto:string;pause:string;autoOn:string;autoOff:string;autoHold:string};state?:'off'|'on'|'hold';p?:number;sec?:number}Astro.props
Bindings and defaults read from source; these do not add inferred types.
skipstatepsec
Source usage
Website reference
This is static source evidence. A reachable module may contain conditional or unused branches. External consumers and staged static pages are outside this scan. No status authorizes deletion.
Website
Documentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/StoryDemos.astro
- src/components/story/StoryDock.astro
- src/components/story/StoryAuto.astro
Preview
- src/pages/vorschlag/home-f.astro
- src/components/story/StoryAuto.astro
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
- src/components/story/StoryDock.astro:7 import
src/pages/vorschlag/home-f.astro:8import
Dependencies
@/components/Zeichen.astro·src/components/Zeichen.astro@/components/Keycap.astro·src/components/Keycap.astro