Calendar

Contents

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

Requires Cordova plugin: cordova-plugin-calendar. For more info, please see the Calendar plugin docs.

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

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

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

ionic cordova plugin add cordova-plugin-calendar npm install @ionic-native/calendar
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/calendar

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

  • Android
  • iOS

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

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

constructor(private calendar: Calendar) { }


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