mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
Device
This commit is contained in:
@ -4,6 +4,15 @@ import * as util from 'ionic/util';
|
|||||||
import {NativePlugin} from '../plugin';
|
import {NativePlugin} from '../plugin';
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Access information about the underlying device and platform.
|
||||||
|
*
|
||||||
|
* @usage
|
||||||
|
* ```js
|
||||||
|
* let info = Device.getDevice();
|
||||||
|
* // Device sits below
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
@NativePlugin({
|
@NativePlugin({
|
||||||
name: 'Device',
|
name: 'Device',
|
||||||
plugins: ['ios', 'android', 'web'],
|
plugins: ['ios', 'android', 'web'],
|
||||||
|
Reference in New Issue
Block a user