DiviArea.UI.animateArea()

DiviArea.UI.animateArea(area, type, callback)

This method is used by DiviArea.show() and DiviArea.hide() to animate the intro and outro of an Area.

Note: Currently, only Fly-In Areas have a hiding animation.

It’s recommended to use DiviArea.show() and DiviArea.hide() to correctly show/hide Areas

Params

area DiviAreaItem, required
The Area to animate.
type string, required
Type of the animation, can be either “hide” or “show”.
callback function, optional
A callback to invoke once the animation is complete. The callback does not receive any parameters.

Returns

The function does not return anything.

Notes

No notes

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support