mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-20 00:06:24 +08:00
Merge branch 'master' into v5
This commit is contained in:
@@ -76,11 +76,6 @@ export class ScreenOrientation extends IonicNativePlugin {
|
||||
LANDSCAPE: 'landscape',
|
||||
ANY: 'any'
|
||||
};
|
||||
/**
|
||||
* Get the current orientation of the device.
|
||||
*/
|
||||
@CordovaProperty() type: string;
|
||||
|
||||
/**
|
||||
* Listen to orientation change event
|
||||
* @return {Observable<void>}
|
||||
@@ -109,4 +104,10 @@ export class ScreenOrientation extends IonicNativePlugin {
|
||||
*/
|
||||
@Cordova({ sync: true })
|
||||
unlock(): void {}
|
||||
|
||||
/**
|
||||
* Get the current orientation of the device.
|
||||
*/
|
||||
@CordovaProperty()
|
||||
type: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user