Calendar

Contents

This plugin allows you to add events to the Calendar of the mobile device.

https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin

Ionic 日历Calendar插件的安装(Installation)

ionic cordova plugin add cordova-plugin-calendar npm install @ionic-native/calendar

Ionic 日历Calendar插件支持的平台(Supported Platforms)

  • Android
  • iOS

Ionic 日历Calendar插件的用法(Usage)

import { Calendar } from '@ionic-native/calendar';

constructor(private calendar: Calendar) { }


this.calendar.createCalendar('MyCalendar').then(
  (msg) => { console.log(msg); },
  (err) => { console.log(err); }
);