gestureBehavior property

EnumValue get gestureBehavior

Gets or sets the ToolManager's touch pinching behavior. Allowed values are ToolManager.GestureZoom and ToolManager.GestureCancel and ToolManager.GestureNone. The default value is ToolManager.GestureZoom.

If you want to control whether a single finger touch movement causes a pan (i.e. scroll) of the diagram's contents or scrolls the page, consider either disabling the PanningTool by setting its property Tool#isEnabled to false or by setting PanningTool#bubbles to true.

Implementation

_i3.EnumValue get gestureBehavior => _i4.getProperty(
      this,
      'gestureBehavior',
    );
set gestureBehavior (EnumValue value)

Implementation

set gestureBehavior(_i3.EnumValue value) {
  _i4.setProperty(
    this,
    'gestureBehavior',
    value,
  );
}