AppDatePickerDialog

March 13, 2022 ยท View on GitHub

date-picker-dialogs-in-different-themes

Properties

It includes all properties from AppDatePicker and some of the properties from MwcDialog.

PropertyTypeDefaultDescription
confirmLabelStringsetText label for the confirm button.
dismissLabelStringcancelText label for the dismiss button.
openBooleanfalseWhen it is set to true, the picker dialog renders. Like wise, it is set to false when the dialog is hidden.
resetLabelStringresetText label for the reset button.

Methods

This includes all the methods from MwcDialog.

MethodReturnsDescription
hideHide the picker dialog.
showOpen the picker dialog.

Events

It includes all the events from AppDatePicker and all from MwcDialog.

CSS Custom Properties

It includes all the CSS Custom properties from AppDatePicker and all from MwcDialog except --mdc-dialog-min-width and --mdc-shape-medium.

CSS Shadow Parts

It includes all the CSS Shadow Parts from AppDatePicker.