Components Interactions Examples Tutorials API FAQ
Options
Menu

Hierarchy

Index

Properties

Private _clickState

_clickState: any

Private _clickedDown

_clickedDown: any

Private _clickedPoint

_clickedPoint: any

Protected _componentAttachedTo

_componentAttachedTo: Component

Private _dblClickCallback

_dblClickCallback: any

Private _mouseDispatcher

_mouseDispatcher: any

Private _mouseDownCallback

_mouseDownCallback: any

Private _mouseUpCallback

_mouseUpCallback: any

Private _onDoubleClickCallbacks

_onDoubleClickCallbacks: any

Private _touchCancelCallback

_touchCancelCallback: any

Private _touchDispatcher

_touchDispatcher: any

Private _touchEndCallback

_touchEndCallback: any

Private _touchStartCallback

_touchStartCallback: any

Methods

Protected _anchor

Private _handleClickCancel

  • _handleClickCancel(): any

Private _handleClickDown

  • _handleClickDown(p: any): any

Private _handleClickUp

  • _handleClickUp(p: any): any

Private _handleDblClick

  • _handleDblClick(): any

Protected _isInsideComponent

  • _isInsideComponent(p: Point): boolean
  • Checks whether a Component-coordinate-space Point is inside the Component.

    Parameters

    • p: Point

      A Point in Compoennt-space coordinates.

    Returns boolean

    Whether or not the point is inside the Component.

Protected _translateToComponentSpace

Protected _unanchor

  • _unanchor(): void

attachTo

  • Attaches this Interaction to a Component. If the Interaction was already attached to a Component, it first detaches itself from the old Component.

    Parameters

detachFrom

enabled

  • enabled(): boolean
  • enabled(enabled: boolean)

offDoubleClick

onDoubleClick

Static Private _pointsEqual

  • _pointsEqual(p1: any, p2: any): any

Generated using TypeDoc