docs(plugins): update docs and plugin params

This commit is contained in:
Ibrahim Hadeed
2016-03-12 18:30:16 -05:00
parent 4d8dc1b9dc
commit a1bdff6b24
25 changed files with 149 additions and 35 deletions
+7 -4
View File
@@ -40,10 +40,12 @@ export interface CompassOptions {
}
/**
* @name DeviceOrientation
* @description
* Requires Cordova plugin: `cordova-plugin-device-orientation`. For more info, please see the [Device Orientation docs](https://github.com/apache/cordova-plugin-device-orientation).
*
* ```
* cordova plugin add https://github.com/apache/cordova-plugin-device-orientation.git
* ```shell
* cordova plugin add cordova-plugin-device-orientation
* ````
*
* @usage
@@ -64,8 +66,9 @@ export interface CompassOptions {
* ```
*/
@Plugin({
plugin: 'https://github.com/apache/cordova-plugin-device-orientation',
pluginRef: 'navigator.compass'
plugin: 'cordova-plugin-device-orientation',
pluginRef: 'navigator.compass',
repo: 'https://github.com/apache/cordova-plugin-device-orientation'
})
export class DeviceOrientation {