This commit is contained in:
Max Lynch
2015-11-30 11:09:50 -06:00
parent 226c182039
commit b6e612209a
17 changed files with 155 additions and 42 deletions
+25
View File
@@ -0,0 +1,25 @@
import {Plugin, Cordova} from './plugin';
@Plugin({
name: 'Contacts',
plugin: 'cordova-plugin-contacts',
pluginRef: 'navigator.contacts',
repo: 'https://github.com/apache/cordova-plugin-contacts'
})
export class Contacts {
@Cordova({
successIndex: 1,
errorIndex: 2
})
// This method is create(fields, success, error, options) :/
static create(fields:string[], options:any){};
@Cordova({
successIndex: 1,
errorIndex: 2
})
static find(fields:string[], options:any){};
@Cordova()
static pickContact(){};
}