24 lines
711 B
Markdown
Raw Normal View History

2021-09-29 14:09:02 +02:00
# Screen Orientation
```
$ ionic cordova plugin add cordova-plugin-screen-orientation
2021-09-29 15:19:55 +02:00
$ npm install @awesome-cordova-plugins/screen-orientation
2021-09-29 14:09:02 +02:00
```
2021-09-29 15:19:55 +02:00
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/screen-orientation/)
2021-09-29 14:09:02 +02:00
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
2021-09-29 14:38:45 +02:00