@iomechs/angular-year-calendar
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Angular Year Calendar

@iomechs/angular-year-calendar

Actions Status

npm version github stars License: MIT

npm downloads total npm downloads/month

A simple, easily to use Year calendar for your Angular apps.

@iomechs/angular-year-calendar

Demo

https://iomechs.github.io/angular-year-calendar/demo

Docs

https://iomechs.github.io/angular-year-calendar

Dependencies

The Angular Year Calendar library depends on date-fns and @angular/cdk. If you don't have them installed in your project, you'll have to install them urself.

Usage

Install the package in your project's folder by using npm or yarn:

npm install @iomechs/angular-year-calendar --save

# OR

yarn add @iomechs/angular-year-calendar -S

Import YearCalendarModule in your AppModule as below:

import { YearCalendarModule } from '@iomechs/angular-year-calendar';

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    BrowserAnimationsModule,
    YearCalendarModule, // <-- here
  ]
});

Then in your HTML, you can use as:

<yc-year-calendar
  [loadingData]="isLoadingData"
  (viewYearChanged)="viewYearChangedHandler($event"
  (eventDayClicked)="eventDayClickHandler($event)"
  [ycConfig]="myCalendarConfig"
  [selectedDate]="currentDate">
</yc-year-calendar>

License

MIT © IOMechs

Readme

Keywords

none

Package Sidebar

Install

npm i @iomechs/angular-year-calendar

Weekly Downloads

30

Version

1.0.3

License

none

Unpacked Size

277 kB

Total Files

25

Last publish

Collaborators

  • ahsanayaz
  • siraj.haq