ngdatecalendar
v2.0.6
Published
This is custom calendar which is developed using simple html and css using typescript. You can also modify this calendar as per your requirement and as per your design.
Downloads
35
Maintainers
Readme
Calender
This is custom calendar which is developed using simple html and css using typescript. You can also modify this calendar as per your requirement and as per your design.
Installation instruction
Step-1 npm install moment --save
Step-2 npm install ngdatecalendar --save
Instruction to use the package
How to use?
Please follow below instruction to implement custom calendar in your angular application. This packege will support in Angular2 and Angular2+.
import { CalendarModule } from "ngdatecalendar"; //in module
imports: [
CalendarModule
]
// In your component html file
<ngdatecalendar (getDate)='onDateChanged($event)'></ngdatecalendar>
// In your component.ts file
onDateChanged(event){
this.modalname = (moment(event).format('DD-MM-YYYY'));
}