Get the Newsletter

removeClass

A Method

removeClass(element: HTMLElement, className: string): Promise

Add a class to an element to trigger an animation.

Parameters

element: HTMLElement
Element to animate
className: string
Properties to animate or name of the effect to use

Returns

Resolved when the animation is done