2.0.6 • Published 5 years ago

ngdatecalendar v2.0.6

Weekly downloads
9
License
MIT
Repository
-
Last release
5 years ago

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'));
}