Optional
container?: HTMLElement | stringOptional
duration?: numberThe duration of the timeline in seconds, defaults to wavesurfer's duration
Optional
formatTurn the time into a suitable label for the time.
Optional
height?: numberThe height of the timeline in pixels, defaults to 20
Optional
insertPass 'beforebegin' to insert the timeline on top of the waveform
Optional
primaryInterval between numeric labels in seconds
Optional
primaryInterval between numeric labels in timeIntervals (i.e notch count)
Optional
secondaryInterval between secondary numeric labels in seconds
Optional
secondaryOpacity of the secondary labels, defaults to 0.25
Optional
secondaryInterval between secondary numeric labels in timeIntervals (i.e notch count)
Optional
style?: Partial<CSSStyleDeclaration> | stringCustom inline style to apply to the container
Optional
timeInterval between ticks in seconds
Generated using TypeDoc
HTML element or selector for a timeline container, defaults to wavesufer's container