mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
feat(plugins): add name field
This commit is contained in:
@@ -23,9 +23,9 @@ declare var window;
|
||||
* ```
|
||||
*
|
||||
* @advanced
|
||||
*
|
||||
*
|
||||
* Accepted orientation values:
|
||||
*
|
||||
*
|
||||
* | Value | Description |
|
||||
* |-------------------------------|------------------------------------------------------------------------------|
|
||||
* | portrait-primary | The orientation is in the primary portrait mode. |
|
||||
@@ -34,9 +34,10 @@ declare var window;
|
||||
* | landscape-secondary | The orientation is in the secondary landscape mode. |
|
||||
* | portrait | The orientation is either portrait-primary or portrait-secondary (sensor). |
|
||||
* | landscape | The orientation is either landscape-primary or landscape-secondary (sensor). |
|
||||
*
|
||||
*
|
||||
*/
|
||||
@Plugin({
|
||||
name: 'ScreenOrientation',
|
||||
plugin: 'cordova-plugin-screen-orientation',
|
||||
pluginRef: 'window.screen',
|
||||
repo: 'https://github.com/apache/cordova-plugin-screen-orientation',
|
||||
|
||||
Reference in New Issue
Block a user