The action to perform once the cue has finished waiting.
The action to perform once the cue has finished waiting.
This event fires when the Cue finishes. This is included because it's part of the IClockChild definition. In practice, there's no reason to use it though, since the whole point of a Cue object is that it's already lining up some action to be performed once it finishes.
Signifies whether the Cue has stopped.
The number of milliseconds to wait before performing some action.
Provides a way of identifying cues so they can be easily retrieved later.
Returns the name of this type. This can be used rather than instanceof which is sometimes unreliable.
Provides a way for setting the ref through a chained function call. For example:
clock.addChild(Cue.afterMs(100, console.log('Hello!')).withRef('cue'));
The calling object.
The ref to set on the object.
Generated using TypeDoc
The MsCue defines some action which should be performed after x number of milliseconds have passed.