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