I would like to catch the event that comes from the month \"left\" and \"right\" selection buttons, but I couldn\'t find any documentation about it.
What ev
the only way I've found is, (idea from onthecode) in open, check for querySelectorAll of the buttons. some like
constructor(private renderer: Renderer2) { }
openCalendar() {
setTimeout(() => {
const buttons = document.querySelectorAll
('.mat-calendar-previous-button,.mat-calendar-next-button')
if (buttons) {
Array.from(buttons).forEach(button => {
this.renderer.listen(button, "click", (event) => {
console.log('Arrow button clicked')
});
})
}
})
}
see stackblitz