mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 00:51:07 +08:00
docs(screen-orientation): fixes the advanced table info (#481)
This commit is contained in:
parent
dfdaa157a4
commit
e4f198ae42
@ -23,7 +23,9 @@ declare var window;
|
|||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @advanced
|
* @advanced
|
||||||
|
*
|
||||||
* Accepted orientation values:
|
* Accepted orientation values:
|
||||||
|
*
|
||||||
* | Value | Description |
|
* | Value | Description |
|
||||||
* |-------------------------------|------------------------------------------------------------------------------|
|
* |-------------------------------|------------------------------------------------------------------------------|
|
||||||
* | portrait-primary | The orientation is in the primary portrait mode. |
|
* | portrait-primary | The orientation is in the primary portrait mode. |
|
||||||
@ -45,7 +47,7 @@ export class ScreenOrientation {
|
|||||||
/**
|
/**
|
||||||
* Lock the orientation to the passed value.
|
* Lock the orientation to the passed value.
|
||||||
* See below for accepted values
|
* See below for accepted values
|
||||||
* @param {orientation} The orientation which should be locked. Accepted values see table above.
|
* @param {orientation} The orientation which should be locked. Accepted values see table below.
|
||||||
*/
|
*/
|
||||||
@Cordova({ sync: true })
|
@Cordova({ sync: true })
|
||||||
static lockOrientation(orientation: string): void { }
|
static lockOrientation(orientation: string): void { }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user