mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
Device
This commit is contained in:
@ -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'],
|
||||
|
Reference in New Issue
Block a user