mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
Update methods and pluginRef
This commit is contained in:
parent
804c9ee463
commit
213330379d
@ -46,18 +46,27 @@ export interface email {
|
||||
*/
|
||||
@Plugin({
|
||||
plugin: 'cordova-plugin-email-composer',
|
||||
pluginRef: 'emailComposer',
|
||||
pluginRef: 'cordova.plugins.email',
|
||||
repo: 'https://github.com/katzer/cordova-plugin-email-composer.git',
|
||||
platforms: ['Android', 'iOS', 'Windows Phone 8']
|
||||
})
|
||||
export class EmailComposer {
|
||||
|
||||
@Cordova()
|
||||
static isAvailable() : Promise<boolean> {return}
|
||||
|
||||
@Cordova()
|
||||
static addAlias(app: String, schema: any) : Promise<any> {return}
|
||||
|
||||
/**
|
||||
* Opens Email Composer with email contents
|
||||
* @param email {email} Email
|
||||
* @returns {Promise<any>} Resolves promise when the EmailComposer has been opened
|
||||
*/
|
||||
@Cordova()
|
||||
static open(email: email): Promise<any> { return }
|
||||
@Cordova({
|
||||
successIndex: 1,
|
||||
errorIndex: 3
|
||||
})
|
||||
static open(email: email, scope : any) : Promise<any> {return}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user