Components Interactions Examples Tutorials API FAQ
Options
Menu

Hierarchy

Index

Properties

Private _clickedDown

_clickedDown: any

Protected _componentAttachedTo

_componentAttachedTo: Component

Private _mouseDispatcher

_mouseDispatcher: any

Private _mouseDownCallback

_mouseDownCallback: any

Private _mouseUpCallback

_mouseUpCallback: any

Private _onClickCallbacks

_onClickCallbacks: any

Private _touchCancelCallback

_touchCancelCallback: any

Private _touchDispatcher

_touchDispatcher: any

Private _touchEndCallback

_touchEndCallback: any

Private _touchStartCallback

_touchStartCallback: any

Methods

Protected _anchor

Private _handleClickDown

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

Private _handleClickUp

  • _handleClickUp(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)

offClick

onClick

Generated using TypeDoc