Skip to content

feat(MatDatepicker): Add pass-through change and click events to MatDatepickerToggle #21836

Closed
@mcalmus

Description

@mcalmus

Feature Description

MatDatepickerToggle is a button, but it doesn't have a mechanism for apps that include it to know when it has been changed to clicked. This would be a useful feature.

Use Case

We do click metrics on the site, but I could see other cases where a developer might want to know when the date picker was opened.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/datepicker

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions