0.0.3 • Published 2 years ago
@alkorschun/ngx-monthcalendar v0.0.3
NgxMonthcalendar
How to install
1) Get the package
npm i @alkorschun/ngx-monthcalendar
2) Import the module
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { NgxMonthcalendarModule } from 'projects/ngx-monthcalendar/src/public-api';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
NgxMonthcalendarModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
3) Add the calendar in your component
<lib-ngx-monthcalendar [currentDay]="someDate" [options]="{weekendStyle:{color:'green'}}"></lib-ngx-monthcalendar>