angular / angular/components

Datepicker event on the top buttons (calendar header)

Open
#12,403 12 comments 3 reactions 0 assignees View on GitHub
area: material/datepicker feature P4
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

#### Bug, feature request, or proposal:
Feature request

#### What is the expected behavior?
When user clicks in buttons "NEXT" and "PREVIOUS" for change actually month/year, emit a event with next/previous first date (equals monthSelected, but in the calendar header buttons).

#### What is the current behavior?
Not available.

Contributor guide

Open the contributing guide

Research direction

Start at the datepicker calendar header and inspect the existing monthSelected event and the NEXT/PREVIOUS button handlers. The work is done when clicking either button emits an event containing the corresponding next or previous first date, with tests covering both directions.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.