GLOWTOUR / VANILLA
Loading browser runtime
CSSScript.com Demo Page

GlowTour.js Vanilla JS Tour Library Demos

Download Back To CSSScript.Com

A single-page Vanilla JS playground for spotlighted targets, async steps, live state, custom events, keyboard controls, and dynamic DOM behavior.

14-step workflow native custom elements dark theme tokens no build step
01 / Workspace stage

One surface. Every transition.

Start the full route, resume at the async resolver, or drive the active tour from the live inspector.

Signal desk

Live DOM targets used by the workflow

idle
Target 01 selector

Workspace overview

Stable selector target with workflow defaults, overlay padding, and placement fallbacks.

07active flows
42.8kevents / day
01:18avg. handoff
Target 02 element

Focus-ready filter

Direct HTMLElement target with `focusTarget()` and an input event that updates step props.

Target 03 interaction

Filter mode

Target interaction stays enabled while the spotlight is active.

Target 04 waitUntilElement

Async reveal

The tour clicks the target, waits for a new node, then resolves it in the next step.

Target 05 waitUntil

Condition gate

The next transition waits for application state, then calls `advance()` from an action.

Target 06 action chain

Action pipeline

One action continues, the next returns `false`, and the sentinel never runs.

Target 07 event array

Event field

Pointer and keyboard events are collected through one `onTargetEvent([...])` step.

Target 08 event click

Click-to-advance

The popover advance control is hidden. A target event advances through its context.

Target 09 advance

Return guard

Context navigation returns here once before the manual route continues.

Target 10 previous

Previous guard

The first pass returns automatically. A guard prevents a second loop.

Target 11 automatic

Timed handoff

A footer-free step pauses briefly, then advances without a click.

Target 12 missingTargetStrategy

Moving target

The target briefly leaves the DOM and returns in a different lane while the tour waits.

home lane
Target 13 / appended custom event

Appended workflow handoff

This last step comes from a second workflow and finishes after a namespaced custom event.

destination lane
02 / Capability ledger

What the route exercises

Every row maps to a live target or controller interaction above.

01 Target resolution selector · HTMLElement · async resolver · missing target recovery
02 Step actions do() · wait() · waitUntil() · waitUntilElement() · clickTarget() · focusTarget()
03 Transitions advance() · previous() · goToStep() · cancel() · startAt
04 Events + state onTargetEvent() · state.subscribe() · lifecycle hooks · analytics events
05 Presentation dark tokens · overlay cutout · pointer placement · scrolling · keyboard shortcuts