Utils utils

A namespace that exposes utility methods that can be helpful when working with the DevExtreme framework and UI widgets.

Included in: dx.phonejs.js, dx.webappjs.js, dx.chartjs.js, dx.all.js

initMobileViewport(options)

Sets parameters for the viewport meta tag.

Parameters:
options: Object
An object specifying whether to enable or disable pinch-zooming and panning gestures within a mobile browser's view port.
Object structure:
allowZoom: Boolean
Specifies whether or not to enable pinch-zooming in a mobile browser's view port.
allowPan: Boolean
Specifies whether or not to enable panning on the vertical and horizontal axes in a mobile browser's view port.
allowSelection: Boolean
Specifies whether or not to enable selection in a mobile browser's view port.

NOTE: This method is useful in mobile applications only.