PositionOptions: { initialPosition?: number; loop?: LoopType }

Options for the initialization of a Position object

Type declaration

  • Optional initialPosition?: number

    Initial position of the carousel. Must be between 0 and maxPosition.

  • Optional loop?: LoopType

    Whether the position will reset upon going over the maximum value and go the end when going under the minimum one. If false, in the situation described above, the limit position will be returned

Generated using TypeDoc