mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
Moving to a class-based approach
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
|
||||
import {promisify} from '../util';
|
||||
|
||||
let PLUGIN_REF = 'navigator.camera';
|
||||
|
||||
export class Camera {
|
||||
static getPicture = promisify(PLUGIN_REF, 'getPicture', 0, 1)
|
||||
}
|
||||
Reference in New Issue
Block a user