clearQueue( )

clearQueue(): this;

Clears anything pending in the queue.

Example

//Add elements to the queue using the enqueue function present in both state and timeline
symbol.controllers.mycontroller.elements.mystate.enqueue();
symbol.controllers.mycontroller.elements.mytimeline.enqueue();

//Clear the elements added to the queue
symbol.controllers.mycontroller.clearQueue();

Returns

this

zapcode branded_zapcode i