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
- The Area to animate.
type
- Type of the animation, can be either “hide” or “show”.
callback
- 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