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

    Class that represents the custom configurations received by the Timepicker.

    Hierarchy (View Summary)

    Index
    ExtendedClass: string

    CSS classes added to the pattern root.

    FirstWeekDay: number

    First day of the week (0 = Sunday); forwarded to the provider locale.

    InitialTime: string

    Time selected when the picker is built (HH:mm).

    Is24Hours: boolean

    Uses a 24-hour clock; false shows an AM/PM selector.

    MaxTime: string

    Latest selectable time (HH:mm).

    MinTime: string

    Earliest selectable time (HH:mm).

    TimeFormat: string

    Display format of the selected time.

    providerExtendedOptions: FlatpickrOptions
    AllowInput: boolean = false

    Stores the ability to allow inputs to be editable or not

    DisableMobile: boolean = false

    Stores the ability to disable the mobile flatpickr behavior. False is the default provider option

    OnChangeEventCallback: Generic

    Store the OnChange Event callback to be defined in the specific context for each Flatpickr mode

    OnCloseEventCallback: Generic

    Store the OnClose callback to be defined to the Flatpicker config instance

    OnOpenEventCallback: Generic

    Store the OnOpen callback to be defined to the Flatpicker config instance

    ServerDateFormat: string

    Store the Server Date format that will be used to casting the selected dates into a knowned date by/for Flatpickr

    • 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