Timeline

Basic usage

Attributes

Attribute Description Default
pointer Current frame
framesCount Total frames count
intervals Intervals []
colors Intervals colors []

Options

Attribute Description Default
height bar height in pixels or percents 30px
pointerColor Pointer background color rgba(151,151,151,1)

Events

Attribute Description Default
segment-selected Called when a segment is clicked