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

The options for the pagination feature.

Type declaration

  • Optionalindicator?: boolean

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

  • OptionalonDrag?: ((event: HookEvent) => void)

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

      • (event): void
      • Parameters

        Returns void

  • OptionalonEnd?: ((event: HookEvent) => void)

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

      • (event): void
      • Parameters

        Returns void

  • OptionalonStart?: ((event: HookEvent) => void)

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

      • (event): void
      • Parameters

        Returns void