This method has no parameters.
This function does not return a value.
The enableAnimations and disableAnimations functions allow apps to keep their custom animations in sync with the system accessibility setting used by the Animations Library. (The system accessibility setting is the "Turn off all unneccesary animations (when possible)" option found in the Ease of Access Center in Control Panel, and can be retrieved through the Windows.UI.ViewManagement.UISettings.animationsEnabled property.) This function also allows apps that run in the web context to enable or disable animations to respect the system accessibility setting. Normally, this is done automatically, but the system accessibility setting cannot be accessed by the web context, so the app must enable or disable animations manually.
See isAnimationEnabled for a full discussion of how the disableAnimations function is used with the system accessibility setting to determine whether animations should be enabled or disabled.
Minimum WinJS version