SiDatepickerOverlayComponent documentation¶
selector
si-datepicker-overlay
Input Properties¶
Name | Type | Default | Description |
---|---|---|---|
config ¶ | DatepickerConfig | {} | Object to configure the datepicker. |
date ¶ | Date | The selected date of the datepicker. Use for initialization and for bidirectional binding. | |
dateRange ¶ | DateRange | The selected date range of the datepicker. Use for initialization and for bidirectional binding. | |
initialFocus ¶ | boolean | false | Set initial focus to calendar body. |
isMobile ¶ | boolean | false | Indicate that the overlay is opened in small screen. A modal dialog animation display when true and a wrapped two month calendar layout is displayed. |
rangeType ¶ | ("START" | "END" ) | Use this to force date range operation to select either start date or end date. | |
time12h ¶ | boolean | false | Enable/disable 12H mode in timepicker. Defaults to locale |
Output Properties¶
Name | Type | Description |
---|---|---|
dateChange ¶ | Date | The selected date of the datepicker. Use for initialization and for bidirectional binding. |
dateRangeChange ¶ | DateRange | The selected date range of the datepicker. Use for initialization and for bidirectional binding. |
disabledTimeChange ¶ | boolean | Emits an event to notify about disabling the time from the datepicker. When time is disable, we construct a pure date object in UTC 00:00:00 time. |
rangeTypeChange ¶ | ("START" | "END" ) | Use this to force date range operation to select either start date or end date. |
Attributes and Methods¶
Name | Type | Default | Description |
---|---|---|---|
focusActiveCell() ¶ | () => void | Focus active cell in the current datepicker view. | |
isFocused | boolean | false | Deprecated: Property provides internal information that should not be used. |
Types Documentation¶
|
Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality. |
---|
Translatable import imported from @siemens/element-translate-ng |
---|
Except where otherwise noted, content on this site is licensed under MIT License.