Skip to content

Commit cf0c4ae

Browse files
committed
fix(types): add device orientation controls init
1 parent 1df495a commit cf0c4ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/types/locar.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,11 @@ declare module "locar" {
222222
options?: DeviceOrientationControlsOptions,
223223
);
224224

225+
/**
226+
* Initialize the device orientation controls. Should be called first to set up permission flow.
227+
*/
228+
init(): void;
229+
225230
/**
226231
* Begin listening to orientation + screenorientation (must be called after permission is granted on iOS).
227232
*/

0 commit comments

Comments
 (0)