jQuery/JS Common - utils - utils
An object that serves as a namespace for utility methods that can be helpful when working with the DevExtreme framework and UI widgets.
cancelAnimationFrame(requestID)
Cancels an animation frame request scheduled with the requestAnimationFrame method.
This method acts as a normalization of the standard cancelAnimationFrame method of the window object.
window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || window.oCancelAnimationFrame || window.msCancelAnimationFrame
If the API in the code above is not supported, the DevExpress.utils.cancelAnimationFrame(requestID) method clears a timer set with the requestAnimationFrame method.
initMobileViewport(options)
requestAnimationFrame(callback)
This method acts as a normalization of the standard requestAnimationFrame method of the window object:
window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame
If the API in the code above is not supported, the DevExpress.utils.requestAnimationFrame(callback) method calls the function passed as a parameter after an internally set timeout.
If you have technical questions, please create a support ticket in the DevExpress Support Center.