Interface ISwipeStaticProps

interface ISwipeStaticProps {
    __staticProp?: null;
    buttons?: number[];
    container: HTMLElement | SVGElement;
    disableUserSelect?: boolean;
    pointers?: number;
}

Hierarchy (View Summary)

Properties

__staticProp?: null
buttons?: number[]

Determines which mouse buttons trigger events.

  • 0: Main button pressed, usually the left button or the un-initialized state
  • 1: Auxiliary button pressed, usually the wheel button or the middle button (if present)
  • 2: Secondary button pressed, usually the right button
  • 3: Fourth button, typically the Browser Back button
  • 4: Fifth button, typically the Browser Forward button

See MouseEvent.button.

[0]
container: HTMLElement | SVGElement

Event listener container.

disableUserSelect?: boolean

Disable user selection on drag.

true
pointers?: number

Required pointer count to activate swiping.

1