Skip to content

feat(screen-orientation): LockOptions should be optional #633

@robingenz

Description

@robingenz

Right now, it's not possible to lock the current screen orientation without calling getCurrentOrientation() and lock(...). For this reason, we should make LockOptions an optional parameter. If no LockOptions or OrientationType is provided, we should just lock the current orientation.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions