Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PointerMomentumGesture<V>

Type parameters

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly coastCount

coastCount: number

Readonly delegate

delegate: null | MomentumGestureDelegate

Readonly hoverCount

hoverCount: number

Readonly inputCount

inputCount: number

Readonly inputs

inputs: {}

Type declaration

Readonly pressCount

pressCount: number

Readonly view

view: null | V

Static Acceleration

Acceleration: number

Static Hysteresis

Hysteresis: number

Static VelocityMax

VelocityMax: number

Accessors

Protected acceleration

  • get acceleration(): number
  • Returns number

Protected hysteresis

  • get hysteresis(): number
  • Returns number

Protected velocityMax

  • get velocityMax(): number
  • Returns number

Methods

Protected attachEvents

  • attachEvents(view: V): void
  • Parameters

    • view: V

    Returns void

Protected attachHoverEvents

  • attachHoverEvents(view: V): void

Protected attachPressEvents

  • attachPressEvents(view: V): void

beginCoast

beginHover

beginPress

cancel

  • cancel(event: null | Event): void
  • Parameters

    • event: null | Event

    Returns void

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 didBeginCoast

Protected didBeginHover

Protected didBeginPress

Protected didCancelPress

Protected didCoast

  • didCoast(): void

Protected didEndCoast

Protected didEndHover

Protected didEndPress

Protected didLongPress

Protected didMovePress

Protected didPress

Protected didStartCoasting

  • didStartCoasting(): void

Protected didStartHovering

  • didStartHovering(): void

Protected didStartInteracting

  • didStartInteracting(): void

Protected didStartPressing

  • didStartPressing(): void

Protected didStopCoasting

  • didStopCoasting(): void

Protected didStopHovering

  • didStopHovering(): void

Protected didStopInteracting

  • didStopInteracting(): void

Protected didStopPressing

  • didStopPressing(): void

Protected doCoast

  • doCoast(t: number): void
  • Parameters

    • t: number

    Returns void

endCoast

endHover

endPress

getInput

Protected getOrCreateInput

Protected initView

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

    • view: null | V

    Returns void

Protected integrate

  • integrate(t: number): void
  • Parameters

    • t: number

    Returns void

interrupt

  • interrupt(event: null | Event): void
  • Parameters

    • event: null | Event

    Returns void

isCoasting

  • isCoasting(): boolean

isHovering

  • isHovering(): boolean

isPressing

  • isPressing(): boolean

longPress

movePress

Protected onBeginCoast

Protected onBeginHover

Protected onBeginPress

Protected onCancelPress

Protected onCoast

  • onCoast(): void
  • Returns void

Protected onEndCoast

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 onStartCoasting

  • onStartCoasting(): void

Protected onStartHovering

  • onStartHovering(): void

Protected onStartInteracting

  • onStartInteracting(): void

Protected onStartPressing

  • onStartPressing(): void

Protected onStopCoasting

  • onStopCoasting(): void

Protected onStopHovering

  • onStopHovering(): void

Protected onStopInteracting

  • onStopInteracting(): void

Protected onStopPressing

  • onStopPressing(): void

press

setDelegate

setView

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

    • newView: null | V

    Returns void

Protected startCoasting

  • startCoasting(): void

Protected startHovering

  • startHovering(): void

Protected startInteracting

  • startInteracting(): void

Protected startPressing

  • startPressing(): void

Protected stopCoasting

  • stopCoasting(): void

Protected stopHovering

  • stopHovering(): void

Protected stopInteracting

  • stopInteracting(): void

Protected stopPressing

  • stopPressing(): void

Protected updateInput

  • Parameters

    Returns void

viewDidMount

  • viewDidMount(view: V): void
  • Parameters

    • view: V

    Returns void

viewWillAnimate

viewWillUnmount

  • viewWillUnmount(view: V): void

Protected willBeginCoast

Protected willBeginHover

Protected willBeginPress

Protected willCancelPress

Protected willCoast

  • willCoast(): void

Protected willEndCoast

Protected willEndHover

Protected willEndPress

Protected willLongPress

Protected willMovePress

Protected willPress

Protected willStartCoasting

  • willStartCoasting(): void

Protected willStartHovering

  • willStartHovering(): void

Protected willStartInteracting

  • willStartInteracting(): void

Protected willStartPressing

  • willStartPressing(): void

Protected willStopCoasting

  • willStopCoasting(): void

Protected willStopHovering

  • willStopHovering(): void

Protected willStopInteracting

  • willStopInteracting(): void

Protected willStopPressing

  • willStopPressing(): void

Static inputType

  • Parameters

    • inputType: string

    Returns GestureInputType

Generated using TypeDoc