Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PointerDragging

Index

Constructors

Properties

containerEl: EventTarget
emitter: Emitter<any>
handleMouseDown: ((ev: MouseEvent) => void)

Type declaration

    • (ev: MouseEvent): void
    • Parameters

      • ev: MouseEvent

      Returns void

handleMouseMove: ((ev: MouseEvent) => void)

Type declaration

    • (ev: MouseEvent): void
    • Parameters

      • ev: MouseEvent

      Returns void

handleMouseUp: ((ev: MouseEvent) => void)

Type declaration

    • (ev: MouseEvent): void
    • Parameters

      • ev: MouseEvent

      Returns void

handleScroll: ((ev: UIEvent) => void)

Type declaration

    • (ev: UIEvent): void
    • Parameters

      • ev: UIEvent

      Returns void

handleSelector: string
handleTouchEnd: ((ev: TouchEvent) => void)

Type declaration

    • (ev: TouchEvent): void
    • Parameters

      • ev: TouchEvent

      Returns void

handleTouchMove: ((ev: TouchEvent) => void)

Type declaration

    • (ev: TouchEvent): void
    • Parameters

      • ev: TouchEvent

      Returns void

handleTouchScroll: (() => void)

Type declaration

    • (): void
    • Returns void

handleTouchStart: ((ev: TouchEvent) => void)

Type declaration

    • (ev: TouchEvent): void
    • Parameters

      • ev: TouchEvent

      Returns void

isDragging: boolean
isTouchDragging: boolean
origPageX: number
origPageY: number
prevPageX: number
prevPageY: number
prevScrollX: number
prevScrollY: number
selector: string
shouldIgnoreMove: boolean
shouldWatchScroll: boolean
subjectEl: null | HTMLElement
wasTouchScroll: boolean

Methods

  • cancelTouchScroll(): void
  • Returns void

  • cleanup(): void
  • Returns void

  • destroy(): void
  • Returns void

  • destroyScrollWatch(): void
  • Returns void

  • querySubjectEl(ev: UIEvent): HTMLElement
  • Parameters

    • ev: UIEvent

    Returns HTMLElement

  • shouldIgnoreMouse(): number | boolean
  • Returns number | boolean

  • tryStart(ev: UIEvent): boolean
  • Parameters

    • ev: UIEvent

    Returns boolean

Generated using TypeDoc