Pinch to zoom

Description

Enables support for the pinch gesture to zoom the Panel's contents.

Discussion

The enables the ability for the user to "pinch zoom" the contents of the Panel card. Pinch zooming is useful for manually magnifying content, such as images or text that may be too small to read on the user's device.

Resetting the Zoom Level 

To programmatically reset the zoom level, use the {dialog.object}.unZoomPanelCard() method:

// Reset the zoom level for PANEL_1:
{dialog.object}.unZoomPanelCard('PANEL_1');