capacitor-jok-helper
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -18,2 +18,3 @@ declare module "@capacitor/core" { | ||
}>; | ||
setOrientationLock(data: SetOrientationLockProps): Promise<any>; | ||
} | ||
@@ -29,1 +30,4 @@ export interface SetKeychainItemProps { | ||
} | ||
export interface SetOrientationLockProps { | ||
orientationMask: 'all' | 'portrait' | 'portraitUpsideDown' | 'landscape' | 'landscapeLeft' | 'landscapeRight' | 'allButUpsideDown'; | ||
} |
import { WebPlugin } from '@capacitor/core'; | ||
import { JokHelperPlugin, SetKeychainItemProps } from './definitions'; | ||
import { JokHelperPlugin, SetKeychainItemProps, SetOrientationLockProps } from './definitions'; | ||
export declare class JokHelperWeb extends WebPlugin implements JokHelperPlugin { | ||
@@ -16,4 +16,5 @@ constructor(); | ||
}>; | ||
setOrientationLock({ orientationMask }: SetOrientationLockProps): Promise<void>; | ||
} | ||
declare const JokHelper: JokHelperWeb; | ||
export { JokHelper }; |
@@ -35,2 +35,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
setOrientationLock({ orientationMask }) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
console.log('setOrientationLock', orientationMask); | ||
}); | ||
} | ||
} | ||
@@ -37,0 +42,0 @@ const JokHelper = new JokHelperWeb(); |
{ | ||
"name": "capacitor-jok-helper", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Helper functions for jok projects", | ||
@@ -5,0 +5,0 @@ "main": "dist/esm/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
121359
147