SiDatepickerOverlayComponent documentation¶
import { SiDatepickerOverlayComponent } from '@siemens/element-ng/datepicker'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| config ¶ | DatepickerConfig | {} | {@inheritDoc SiDatepickerComponent#config} |
| date ¶ | Date | undefined | {@inheritDoc SiDatepickerComponent#date} | |
| dateRange ¶ | DateRange | undefined | {@inheritDoc SiDatepickerComponent#dateRange} | |
| initialFocus ¶ | boolean | false | {@inheritDoc SiDatepickerComponent#initialFocus} |
| 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" | undefined | {@inheritDoc SiDatepickerComponent#rangeType} | |
| time12h ¶ | boolean | false | {@inheritDoc SiDatepickerComponent#time12h} |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| dateChange ¶ | Date | undefined | {@inheritDoc SiDatepickerComponent#date} |
| dateRangeChange ¶ | DateRange | undefined | {@inheritDoc SiDatepickerComponent#dateRange} |
| 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" | undefined | {@inheritDoc SiDatepickerComponent#rangeType} |
Attributes and Methods¶
| Name | Type | Description |
|---|---|---|
| focusActiveCell() ¶ | () => void | Focus active cell in the current datepicker view. |
Types Documentation¶
import type { DatepickerConfig } from '@siemens/element-ng/datepicker'; -
Defines the time is disabled when visible. Will also be updated on user change. Default is
false. -
Text or translation key for the
disableddisable time. Default isIgnore time. -
Options to turn on date range selection.
-
Text or translation key for the
enableddisable time. Default isConsider time. -
Consider time with minDate and maxDate
-
Option to use two months view for date range picking.
-
Configuration for hiding week numbers. Default is
false. -
Hides disable time switch in the timepicker part and includes mandatory the time in the picker.
-
Maximal (latest) selectable date.
-
Minimal (earliest) selectable date.
-
Only month and year are selectable.
-
Defines the timepicker milliseconds visibility . Default is
false. -
Defines the timepicker minutes visibility. Default is
true. -
Defines the timepicker seconds visibility . Default is
false. -
Defines the timepicker visibility. Default is
false. -
Text or translation key for today button title. Default is
Today. -
Defines the starting day of the week. Default is
monday.
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';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.
import type { WeekStart } from '@siemens/element-ng/datepicker'; Except where otherwise noted, content on this site is licensed under MIT License.