Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DoubleClickZoomHandler

The DoubleClickZoomHandler allows the user to zoom the viewer image at a point by double clicking.

example
var mouseComponent = viewer.getComponent("mouse");

mouseComponent.doubleClickZoom.disable();
mouseComponent.doubleClickZoom.enable();

var isEnabled = mouseComponent.doubleClickZoom.isEnabled;

Hierarchy

Index

Accessors

Methods

Accessors

isEnabled

  • get isEnabled(): boolean
  • Returns a Boolean indicating whether the interaction is enabled.

    Returns boolean

    true if the interaction is enabled.

Methods

disable

  • disable(): void
  • Disables the interaction.

    example

    <component-name>.<handler-name>.disable();

    Returns void

enable

  • enable(): void
  • Enables the interaction.

    example

    <component-name>.<handler-name>.enable();

    Returns void

Generated using TypeDoc