awesome-cordova-plugins/docs/plugins/screen-orientation.md

22 lines
711 B
Markdown
Raw Normal View History

2021-09-29 21:46:28 +08:00
# Screen Orientation
```text
$ ionic cordova plugin add cordova-plugin-screen-orientation
$ npm install @awesome-cordova-plugins/screen-orientation
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/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