Skip to content

calendar animation

Keke edited this page Mar 2, 2020 · 1 revision

Test this animation here. The animation is added to the date range picker demo.

<input angular-mydatepicker [(ngModel)]="model" [options]="myDatePickerOptions" 
   #dp="angular-mydatepicker">
import {IAngularMyDpOptions, CalAnimation} from 'angular-mydatepicker';

export class MyApp {
    myDatePickerOptions: IAngularMyDpOptions = {
        dateFormat: 'dd.mm.yyyy',
        calendarAnimation: {in: CalAnimation.FlipDiagonal, out: CalAnimation.Rotate}

        // other options here
    }

    constructor() {}
}