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

25 lines
885 B
Markdown
Raw Normal View History

2021-09-29 20:09:02 +08:00
<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