Examples

Events Explorer

Explore every event and payload. Switch between timeline.on and options.on.

Select an event, register a handler, inspect output

/* Select an event to see the registration snippet here */

Handler output shows summarized payloads for readability. Articles and DOM events are abbreviated (e.g. IDs, titles, coordinates). Use your own handlers to inspect full objects.

Sub-day saved viewport state

getStatusForSave() adds fhr (hour), fmi (minute), fs (second), and fms (millisecond) when those viewport values are non-zero. Zero-valued fields are omitted, preserving compact legacy output.

The button temporarily lowers zoom.minimum from its backwards-compatible default of 0 to the recommended supported sub-day floor of -82. After capturing the state, it restores both the previous view and the timeline's original minimum zoom.

// Click the button to navigate to an exact sub-day view and inspect its saved JSON.