0.0.5 • Published 5 years ago
ng-calender-plus v0.0.5
NgCalenderPlusApp
Development in Progress and Only Basic Features are available now But you can view source code at Github
Table of contents:
Installation
npm i ng-calender-plus --save
How it works
just a calender for now and will update complate usage once i completed my development
Usage
Include theng-calender-plus module in your application at any place. The recommended way is to add forRoot initialization in the main app module.
import { BrowserModule } from '@angular/platform-browser';
import { NgCalenderPlusModule } from 'ng-calender-plus';
@NgModule({
imports: [
BrowserModule,
NgCalenderPlusModule.forRoot()
],
bootstrap: [AppComponent]
})
export class AppModule { }
Place this below code wherever you want to render the scheduler
<ar-ng-calender-plus (DayClick)="dayClick($event)"></ar-ng-calender-plus>
Events Available
DayClick which will emit day clicked event
constructor(private ngCalenderPlusService: NgCalenderPlusService) {
this.ngCalenderPlusService.getCalenderEvent().subscribe((data: any) => {
console.log('day clicked from service', data);
});
}
dayClick(data) {
console.log('day clicked from output emitter', data);
}
License
Licensed under MIT