Skip to content

SiCalendarButtonComponent documentation

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

Calendar toggle button used in combination with a datepicker directive.

Example:

<si-calendar-button class="w-100">
  <input
    class="form-control"
    type="text"
    siDatepicker
    [siDatepickerConfig]="config"
  />
</si-calendar-button>

Input Properties

NameTypeDefaultDescription
ariaLabel
TranslatableString $localize`:@@SI_DATEPICKER.CALENDAR_TOGGLE_BUTTON:Open calendar`

Aria label for the calendar toggle button.

Types Documentation

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.


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