Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PointerPositionGesture<V>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Readonly delegate

delegate: null | PositionGestureDelegate

Readonly hoverCount

hoverCount: number

Readonly inputCount

inputCount: number

Readonly inputs

inputs: {}

Type declaration

Readonly pressCount

pressCount: number

Readonly view

view: null | V

Methods

Protected attachEvents

  • attachEvents(view: V): void
  • Parameters

    • view: V

    Returns void

Protected attachHoverEvents

  • attachHoverEvents(view: V): void

Protected attachPressEvents

  • attachPressEvents(view: V): void

beginHover

beginPress

cancelPress

Protected clearInput

Protected createInput

Protected detachEvents

  • detachEvents(view: V): void
  • Parameters

    • view: V

    Returns void

Protected detachHoverEvents

  • detachHoverEvents(view: V): void

Protected detachPressEvents

  • detachPressEvents(view: V): void

Protected didBeginHover

Protected didBeginPress

Protected didCancelPress

Protected didEndHover

Protected didEndPress

Protected didLongPress

Protected didMovePress

Protected didPress

Protected didStartHovering

  • didStartHovering(): void

Protected didStartPressing

  • didStartPressing(): void

Protected didStopHovering

  • didStopHovering(): void

Protected didStopPressing

  • didStopPressing(): void

endHover

endPress

getInput

Protected getOrCreateInput

Protected initView

  • initView(view: null | V): void
  • Parameters

    • view: null | V

    Returns void

isHovering

  • isHovering(): boolean

isPressing

  • isPressing(): boolean

longPress

movePress

Protected onBeginHover

Protected onBeginPress

Protected onCancelPress

Protected onEndHover

Protected onEndPress

Protected onLongPress

Protected onMovePress

Protected onPointerCancel

  • onPointerCancel(event: PointerEvent): void
  • Parameters

    • event: PointerEvent

    Returns void

Protected onPointerDown

  • onPointerDown(event: PointerEvent): void
  • Parameters

    • event: PointerEvent

    Returns void

Protected onPointerEnter

  • onPointerEnter(event: PointerEvent): void
  • Parameters

    • event: PointerEvent

    Returns void

Protected onPointerLeave

  • onPointerLeave(event: PointerEvent): void
  • Parameters

    • event: PointerEvent

    Returns void

Protected onPointerLeaveDocument

  • onPointerLeaveDocument(event: PointerEvent): void
  • Parameters

    • event: PointerEvent

    Returns void

Protected onPointerMove

  • onPointerMove(event: PointerEvent): void
  • Parameters

    • event: PointerEvent

    Returns void

Protected onPointerUp

  • onPointerUp(event: PointerEvent): void
  • Parameters

    • event: PointerEvent

    Returns void

Protected onPress

Protected onStartHovering

  • onStartHovering(): void

Protected onStartPressing

  • onStartPressing(): void

Protected onStopHovering

  • onStopHovering(): void

Protected onStopPressing

  • onStopPressing(): void

press

setDelegate

setView

  • setView(newView: null | V): void
  • Parameters

    • newView: null | V

    Returns void

Protected startHovering

  • startHovering(): void

Protected startPressing

  • startPressing(): void

Protected stopHovering

  • stopHovering(): void

Protected stopPressing

  • stopPressing(): void

Protected updateInput

  • Parameters

    Returns void

viewDidMount

  • viewDidMount(view: V): void
  • Parameters

    • view: V

    Returns void

viewWillUnmount

  • viewWillUnmount(view: V): void

Protected willBeginHover

Protected willBeginPress

Protected willCancelPress

Protected willEndHover

Protected willEndPress

Protected willLongPress

Protected willMovePress

Protected willPress

Protected willStartHovering

  • willStartHovering(): void

Protected willStartPressing

  • willStartPressing(): void

Protected willStopHovering

  • willStopHovering(): void

Protected willStopPressing

  • willStopPressing(): void

Static inputType

  • Parameters

    • inputType: string

    Returns GestureInputType

Generated using TypeDoc