widget.on / widget.once / widget.off / widget.emit.
Subscribing
Emitting
Event types (54)
The full vocabulary, by group:Not every widget fires every event — a Switch fires
toggle/on/off, a Slider
fires slide*. Lifecycle events (load, ready, destroy) apply to all.Threshold events
Value widgets fire threshold events when a bound value crosses a line — the callback carries the crossing:Cleanup
Always keep the unsubscribe functions fromon/once if your script sets up
long-lived listeners, and call them when no longer needed to avoid duplicate
handlers across re-runs.
See widget API
The methods these events pair with.

