mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-13 19:29:37 +08:00
9 lines
163 B
TypeScript
9 lines
163 B
TypeScript
![]() |
|
||
|
import {promisify} from '../util';
|
||
|
|
||
|
let PLUGIN_REF = 'navigator.camera';
|
||
|
|
||
|
export class Camera {
|
||
|
static getPicture = promisify(PLUGIN_REF, 'getPicture', 0, 1)
|
||
|
}
|