-
Notifications
You must be signed in to change notification settings - Fork 13
calendarToggle callback
Keke edited this page Feb 11, 2020
·
2 revisions
<input angular-mydatepicker [(ngModel)]="model" [options]="myDatePickerOptions"
#dp="angular-mydatepicker" (calendarToggle)="onCalendarToggle($event)">
import {IAngularMyDpOptions} from 'angular-mydatepicker';
export class MyApp {
myDatePickerOptions: IAngularMyDpOptions = {
// options here...
}
constructor() {}
onCalendarToggle(event: number): void {
console.log('onCalendarToggle(): Reason: ', event);
}
}