Options: {
    className?: string;
    enabled?: boolean;
    tagName?: string;
}

The options for the mask and scrollbar features.

Type declaration

  • Optional className?: string

    The class name of the mask element that will wrap the carousel element.

    Default Value

    'caroucssel-mask'

  • Optional enabled?: boolean

    Enables/disables the rendering of the mask to hide (enabled) or show (disabled) the browsers scrollbars.

    Default Value

    true

  • Optional tagName?: string

    The tag name of the mask element that will wrap the carousel element.

    Default Value

    'div'