complete
("complete", () => void): this;
Emitted when a controller element has completed its animation. For timelines this occurs when the end of the timeline is reached. For states this occurs when the state transition is finished.
Returns
this
Handler Function
When the complete
event is fired, attached handler functions are called with no parameters.