MCPcopy Create free account
hub / github.com/angular/components / nextClicked

Method nextClicked

src/dev-app/datepicker/datepicker-demo.ts:137–142  ·  view source on GitHub ↗
(mode: 'month' | 'year')

Source from the content-addressed store, hash-verified

135 }
136
137 nextClicked(mode: 'month' | 'year') {
138 this._calendar.activeDate =
139 mode === 'month'
140 ? this._dateAdapter.addCalendarMonths(this._calendar.activeDate, 1)
141 : this._dateAdapter.addCalendarYears(this._calendar.activeDate, 1);
142 }
143}
144
145@Component({

Callers

nothing calls this directly

Calls 2

addCalendarMonthsMethod · 0.45
addCalendarYearsMethod · 0.45

Tested by

no test coverage detected