Checks if there are no active animations using isAnimating, and runs any scheduled "idle delegates" if there are no active animations.
This is useful when you wish to perform actions in between animations, e.g. setting form field focus.
Returns boolean
isAnimating
isAnimating(): boolean
Returns true if there are animations currently running.
Returns boolean
runWhenIdle
runWhenIdle(delegate: Function): void
Schedules an "idle delegate" to be run when there are no more active animations.