Components Interactions Examples Tutorials API FAQ
Options
Menu

Hierarchy

Index

Properties

Protected _componentAttachedTo

_componentAttachedTo: Component

Private _mouseDispatcher

_mouseDispatcher: any

Private _mouseMoveCallback

_mouseMoveCallback: any

Private _overComponent

_overComponent: any

Private _pointerEnterCallbacks

_pointerEnterCallbacks: any

Private _pointerExitCallbacks

_pointerExitCallbacks: any

Private _pointerMoveCallbacks

_pointerMoveCallbacks: any

Private _touchDispatcher

_touchDispatcher: any

Private _touchStartCallback

_touchStartCallback: any

Methods

Protected _anchor

Private _handleMouseEvent

  • _handleMouseEvent(p: any, e: any): any

Private _handlePointerEvent

  • _handlePointerEvent(p: any, insideSVG: any): any

Private _handleTouchEvent

  • _handleTouchEvent(p: any, e: any): 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)

offPointerEnter

offPointerExit

offPointerMove

onPointerEnter

onPointerExit

onPointerMove

Generated using TypeDoc