DemoFlow

Application SDK

Your app can take part in a run, with no package to install. Everything here is optional.

Mask an element

Add data-demoflow-mask to any element that must not appear in the video: an API key, an e-mail address, a balance. DemoFlow blurs the element's box whenever it is on screen.

<span data-demoflow-mask>sk_live_51H8…</span>

Tell a scenario you are ready

Call window.demoflow?.ready('<name>') once your app reaches a state, and wait for it with a waitForReady step.

await loadDashboard();
window.demoflow?.ready('dashboard');
{ "action": "waitForReady", "name": "dashboard" }

Scenes and captions from your app

Your app can label its own flow.

window.demoflow?.scene('Checkout');
window.demoflow?.caption('Payment goes through');