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

24 lines
711 B
Markdown
Raw Normal View History

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