mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-14 04:05:23 +08:00
18 lines
350 B
TypeScript
18 lines
350 B
TypeScript
import {Plugin, Cordova} from './plugin';
|
|
|
|
@Plugin({
|
|
name: 'Camera',
|
|
plugin: 'cordova-plugin-camera',
|
|
pluginRef: 'navigator.camera'
|
|
})
|
|
export class Camera {
|
|
@Cordova({
|
|
// Not sure why this plugin has the success/err come first...
|
|
callbackOrder: 'reverse'
|
|
})
|
|
static getPicture(options:any){};
|
|
|
|
@Cordova()
|
|
static cleanup(){};
|
|
}
|