mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
Calendar
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
import {Plugin, Cordova} from './plugin';
|
||||
|
||||
@Plugin({
|
||||
name: 'Calendar',
|
||||
plugin: 'cordova-plugin-calendar',
|
||||
pluginRef: 'plugins.calendar'
|
||||
})
|
||||
export class Calendar {
|
||||
@Cordova()
|
||||
static createCalendar(options:any) {}
|
||||
|
||||
@Cordova()
|
||||
static deleteCalendar(calendarName:string) {}
|
||||
|
||||
@Cordova()
|
||||
static getCalendarOptions() {}
|
||||
|
||||
@Cordova()
|
||||
static createEvent(title, location, notes, startDate, endDate) {}
|
||||
|
||||
@Cordova()
|
||||
static createEventWithOptions(title, location, notes, startDate, endDate, options) {}
|
||||
|
||||
@Cordova()
|
||||
static createEventInteractively(title, location, notes, startDate, endDate) {}
|
||||
|
||||
@Cordova()
|
||||
static createEventInteractivelyWithOptions(title, location, notes, startDate, endDate, options) {}
|
||||
|
||||
@Cordova()
|
||||
static createEventInNamedCalendar(title, location, notes, startDate, endDate, calendarName) {}
|
||||
|
||||
@Cordova()
|
||||
static findEvent(title, location, notes, startDate, endDate) {}
|
||||
|
||||
@Cordova()
|
||||
static listEventsInRange(startDate:any, endDate:any) {}
|
||||
|
||||
@Cordova()
|
||||
static listCalendars(){}
|
||||
|
||||
@Cordova()
|
||||
static findAllEventsInNamedCalendar(calendarName:string) {}
|
||||
|
||||
@Cordova()
|
||||
static modifyEvent(title, location, notes, startDate, endDate, newTitle, newLocation, newNotes, newStartDate, newEndDate) {}
|
||||
|
||||
@Cordova()
|
||||
static modifyEventWithOptions(title, location, notes, startDate, endDate, newTitle, newEventLocation, newNotes, newStartDate, newEndDate, options) {}
|
||||
|
||||
@Cordova()
|
||||
static deleteEvent(title, location, notes, startDate, endDate) {}
|
||||
|
||||
@Cordova()
|
||||
static deleteEventFromNamedCalendar(title, location, notes, startDate, endDate, calendarName) {}
|
||||
|
||||
@Cordova()
|
||||
static openCalendar(date) {}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
import {Plugin, Cordova} from './plugin';
|
||||
|
||||
@Plugin({
|
||||
name: 'Facebook',
|
||||
plugin: 'cordova-plugin-facebook4',
|
||||
pluginRef: 'facebookConnectPlugin'
|
||||
})
|
||||
export class Facebook {
|
||||
@Cordova()
|
||||
static login(permissions:string[]){}
|
||||
|
||||
@Cordova()
|
||||
static logout(){}
|
||||
|
||||
@Cordova()
|
||||
static getLoginStatus(){}
|
||||
|
||||
@Cordova()
|
||||
static getAccessToken(){}
|
||||
|
||||
@Cordova()
|
||||
static showDialog(options:any){}
|
||||
|
||||
@Cordova()
|
||||
static api(requestPath:string, permissions:string[]){}
|
||||
|
||||
@Cordova()
|
||||
static logEvent(name:string, params:any, valueToSum:number){}
|
||||
|
||||
@Cordova()
|
||||
static logPurchase(value:number, currency:string){}
|
||||
|
||||
@Cordova()
|
||||
static appInvite(options:any){}
|
||||
}
|
||||
Reference in New Issue
Block a user