Options: {
    indicator?: boolean;
    onDrag?: ((event) => void);
    onEnd?: ((event) => void);
    onStart?: ((event) => void);
}

The options for the pagination feature.

Type declaration

  • Optional indicator?: boolean

    Show a drag indicator using css cursor properties (grab and grabbing).

  • Optional onDrag?: ((event) => void)

    A hook function that is called when the user is dragging.

      • (event): void
      • Parameters

        Returns void

  • Optional onEnd?: ((event) => void)

    A hook function that is called when the user stops to drag.

      • (event): void
      • Parameters

        Returns void

  • Optional onStart?: ((event) => void)

    A hook function that is called when the user stats to drag.

      • (event): void
      • Parameters

        Returns void