Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MousePositionGesture<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 onMouseDown

  • onMouseDown(event: MouseEvent): void
  • Parameters

    • event: MouseEvent

    Returns void

Protected onMouseEnter

  • onMouseEnter(event: MouseEvent): void
  • Parameters

    • event: MouseEvent

    Returns void

Protected onMouseLeave

  • onMouseLeave(event: MouseEvent): void
  • Parameters

    • event: MouseEvent

    Returns void

Protected onMouseLeaveDocument

  • onMouseLeaveDocument(event: MouseEvent): void
  • Parameters

    • event: MouseEvent

    Returns void

Protected onMouseMove

  • onMouseMove(event: MouseEvent): void
  • Parameters

    • event: MouseEvent

    Returns void

Protected onMouseUp

  • onMouseUp(event: MouseEvent): void
  • Parameters

    • event: MouseEvent

    Returns void

Protected onMovePress

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

Generated using TypeDoc