Skip to content

SiDatepickerOverlayComponent documentation

import { SiDatepickerOverlayComponent } from '@siemens/element-ng/datepicker';

Input Properties

NameTypeDefaultDescription
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

NameTypeDescription
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

NameTypeDescription
focusActiveCell()
() => void

Focus active cell in the current datepicker view.

Types Documentation

import type { DatepickerConfig } from '@siemens/element-ng/datepicker';
Properties
import type { DateRange } from '@siemens/element-ng/datepicker';
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.

WeekStart

'monday' | 'saturday' | 'sunday' | undefined
type alias
import type { WeekStart } from '@siemens/element-ng/datepicker';

Except where otherwise noted, content on this site is licensed under MIT License.