Skip to main content

Touch Actions Service

The Touch Actions Service manages enabling and disabling of touch device built in touch actions such as: pinch-zoom, scrolling, and panning.

Methods

enableTouchActions()

Description

  • Enables all touch actions by removing the disable-touch-actions class from the deck node.

Return Value: null

Code Example

    digideckCore.touchActionsService.enableTouchActions();

disableTouchActions()

Description

  • Disable all touch actions by adding the disable-touch-actions class to the deck node.

Return Value: null

Code Example

    digideckCore.touchActionsService.disableTouchActions();