Raxol.Playground.Demos.ScrubberDemo (Raxol v2.9.2)

View Source

Playground demo: Raxol.UI.Components.Input.Scrubber seeking a recorded timeline.

The pane under the transport is addressed by the playhead, so a seek is visible rather than merely reported: scrubbing moves the wave, and the frame counter and clock agree with it.

Keys route through Scrubber.handle_event/3, so the widget owns its bindings. The demo also handles the {:scrubber_seek | :scrubber_play | :scrubber_pause, id, ...} messages the MCP tools dispatch, which is what makes replay.seek from an agent move this playhead.

Summary

Functions

subscribe_interval(interval, msg)

subscribe_to_events(events)