animateOut

external fun animateOut(element: HTMLElement, effects: Array<String>, progress: Double): Promise<Unit>

Runs an exit animation on the element.