-
Notifications
You must be signed in to change notification settings - Fork 13
calendarViewChanged callback
kekeh edited this page May 26, 2019
·
1 revision
<input angular-mydatepicker [(ngModel)]="model" [options]="myDatePickerOptions"
#dp="angular-mydatepicker" (calendarViewChanged)="onCalendarViewChanged($event)"/>
import {IAngularMyDpOptions, IMyCalendarViewChanged} from 'angular-mydatepicker';
export class MyApp {
myDatePickerOptions: IAngularMyDpOptions = {
// options here...
}
constructor() {}
onCalendarViewChanged(event: IMyCalendarViewChanged) {
console.log('onCalendarViewChanged(): Year: ', event);
}
}