This commit is contained in:
Max Lynch
2015-11-29 17:20:11 -06:00
parent 45dc983752
commit 9d54bfcd0b
18 changed files with 275 additions and 42 deletions
+16
View File
@@ -0,0 +1,16 @@
import {Plugin, RequiresPlugin} from './plugin';
declare var window;
@Plugin({
name: 'Device',
plugin: 'cordova-plugin-device',
pluginRef: 'device'
})
export class Device {
@RequiresPlugin
static getDevice() {
return window.device;
}
}