• Create the new DatePickerItem instance and add it to the datePickerItemsMap

    Export

    Returns

    (OSFramework.OSUI.Patterns.DatePicker.IDatePicker) - Instance created of the new DatePicker

    Parameters

    • datePickerId: string

      ID of the Pattern that a new instance will be created.

    • configs: string

      Configurations for the Pattern in JSON format.

    • mode: OSFramework.OSUI.Patterns.DatePicker.Enum.Mode

      Set which calendar type should be created (SingleDate, RangeDate).

    • provider: string

      Set which provider should be used to create the calendar instance.

    Returns IDatePicker