From ce8ca59439621335ed9e361ee9fddaca9ba91e1f Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Mon, 28 Sep 2015 13:02:57 -0500 Subject: [PATCH] Device --- ionic/platform/device/device.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ionic/platform/device/device.ts b/ionic/platform/device/device.ts index 9da86a734e..d029148d0f 100644 --- a/ionic/platform/device/device.ts +++ b/ionic/platform/device/device.ts @@ -4,6 +4,15 @@ import * as util from 'ionic/util'; import {NativePlugin} from '../plugin'; +/** + * Access information about the underlying device and platform. + * + * @usage + * ```js + * let info = Device.getDevice(); + * // Device sits below + * ``` + */ @NativePlugin({ name: 'Device', plugins: ['ios', 'android', 'web'],