The condition which must be satisfied before performing some action.
The action to perform once the cue has finished waiting.
The action to perform once the cue has finished waiting.
The action to perform once the cue has finished waiting.
The condition which must be satisfied before performing some action.
The condition which must be satisfied before performing some action.
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.
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 ConditionalCue defines some action which should be performed once some condition has been met.