Skip to content

ToufikDev/ng-add-to-calendar

Repository files navigation

ng-add-to-calendar

Angular 2+ add to calendar.

Install

npm install ng-add-to-calendar --save

Usage

The basic usage scenario can be described in three steps.

Step 1. Import the module

import { AddToCalendarModule } from "ng-add-to-calendar";

Step 2. Import the module to yours

@NgModule({
  imports: [
    ...,
    AddToCalendarModule,
  ],
  ...
})
...

Step 3. Import the module to yours

addToCalendarData: IAddToCalendarData {
  label: string;
  title: string;
  description: string;
  location: string;
  start: Date;
  end: Date;
}
...

Step 4. Use the component in your template

<!-- with default markup -->
<ng-add-to-calendar [options]="addToCalendarData"></ng-add-to-calendar>

Feedback

Issues and PRs are welcome. You can provide your feedback or drop us a support request at namane.toufik@gmail.com.

About

Angular 2+ add to calendar.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published