Interface

TimelineZoomControlOptions

Options for adapting timeline zoom to a scalar control.

Signature

Type Definition
Interface TimelineZoomControlOptions

Properties

NameSignatureDescription
label?label?: stringAccessible label for the zoom control.
max?max?: numberMaximum zoom scale in pixels per second. Defaults to 1000.
min?min?: numberMinimum zoom scale in pixels per second. Defaults to 10.
onValueCommitted?(value: number[], eventDetails?: unknown): voidCalled after the hook applies a committed control value to the engine. When the underlying scalar control provides commit details, Canvas Timeline forwards them unchanged as the second argument and does not read their fields.
step?step?: numberSlider step in pixels per second. Defaults to 10.