Script
#
Propertieshub
#
An EventEmitter that your code can subscribe to. Emits the following events:
Name | Description |
---|---|
markerupdate | Fired when the active marker changes. Callback receives the index of the previously active marker. |
loadTasks
#
markerIndex
#
Index of the active marker.
markerName
#
Name of the active marker.
markers
#
The array of markers, in the form [name, startTime, endTime]
.
playback
#
The underlying Playback instance.
#
Methodsconstructor()
#
back()
#
Seek playback to the previous marker.
forward()
#
Advance playback to the next marker.
markerByName()
#
markerNumberOf()
#
Returns the first index of a marker named name
. Throws an error if no marker named name
exists.
parseEnd()
#
If end
is a string, returns the ending time of the marker with that name. Otherwise, returns end
.
parseStart()
#
If start
is a string, returns the starting time of the marker with that name. Otherwise, returns start
.