mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-12 18:56:31 +08:00
25 lines
885 B
Markdown
25 lines
885 B
Markdown
![]() |
<a style="float:right;font-size:12px;" href="http://github.com/danielsogl/awesome-cordova-plugins/edit/master/src/@awesome-cordova-plugins/plugins/screen-orientation/index.ts#L2">
|
||
|
Improve this doc
|
||
|
</a>
|
||
|
|
||
|
# Screen Orientation
|
||
|
|
||
|
```
|
||
|
$ ionic cordova plugin add cordova-plugin-screen-orientation
|
||
|
$ npm install @ionic-native/plugins/screen-orientation
|
||
|
```
|
||
|
|
||
|
## [Usage Documentation](https://ionicframework.com/docs/native/screen-orientation/)
|
||
|
|
||
|
Plugin Repo: [https://github.com/apache/cordova-plugin-screen-orientation](https://github.com/apache/cordova-plugin-screen-orientation)
|
||
|
|
||
|
Cordova plugin to set/lock the screen orientation in a common way.
|
||
|
|
||
|
Requires Cordova plugin: `cordova-plugin-screen-orientation`. For more info, please see the [Screen Orientation plugin docs](https://github.com/apache/cordova-plugin-screen-orientation).
|
||
|
|
||
|
## Supported platforms
|
||
|
|
||
|
- Android
|
||
|
- iOS
|
||
|
- Windows
|