outsystems-ui - v3.0.0
    Preparing search index...

    Class AbstractCarouselConfigAbstract

    Represents the configurations for a provider. Will have a method to get the configurations in the provider format.

    Hierarchy (View Summary)

    Index
    ExtendedClass: string

    CSS classes added to the pattern root.

    AutoPlay: boolean

    Advances the slides automatically.

    Direction: LTR | RTL | TTB

    Slide direction: ltr, rtl or ttb (vertical).

    Height: string | number

    Height of the carousel (CSS length or pixel number); auto by default, required for the vertical direction.

    ItemsDesktop: number

    Number of items visible at once on desktop.

    ItemsGap: string | number

    Gap between items (CSS length or pixel number); 0px by default.

    ItemsPhone: number

    Number of items visible at once on phones.

    ItemsTablet: number

    Number of items visible at once on tablets.

    Loop: boolean

    Rewinds to the first item after the last one.

    Navigation: Navigation

    Navigation controls to render: Arrows, Dots, Both or None.

    Padding: string | number

    Padding on both ends of the track so neighbouring items peek in (CSS length or pixel number).

    StartingPosition: number

    Zero-based index of the item shown first.

    • Protected

      Method that helps to validate if a given value is within a range of values.

      Parameters

      • value: unknown

        Value received in the configs

      • defaultValue: unknown

        Value used when the given one is missing or invalid

      • ...args: unknown[]

        Allowed values

      Returns unknown

    • Protected

      Method to merge Common, Specific and External configs

      Parameters

      • commonConfigs: any

        Configurations shared by every mode of the provider

      • specificConfigs: any

        Configurations of the current mode

      • OptionalextendedConfigs: any

        Extensibility configurations set by the developer

      Returns any