Skip to content

waygraph / formatDemoPaceBadge

Function: formatDemoPaceBadge() ​

formatDemoPaceBadge(pace, baseAutoplayMs?): string

Defined in: src/demo/narration/demo-pace.ts:104

Short chip for the demo panel (e.g. 2.5x, 4500ms, slow). Always printable - numbers speak in the UI, not only in code.

Parameters ​

pace ​

DemoPace

baseAutoplayMs? ​

number = 1800

Returns ​

string

waygraph 0.18.3 (alpha) · Node 24+ · peer @playwright/test ^1.40.0 · syntax may change before 1.0: see what was removed