package
Version:
v0.0.13
Opens a new window with list of versions in this module.
Published: Nov 7, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package orientation locks the screen to portrait or landscape.
nimbus native plugin add orientation
orientation.Lock(ctx, orientation.Landscape)
orientation.Unlock(ctx)
Lock holds the screen in a mode.
Unlock follows the phone again.
Mode is a way up.
const (
Portrait Mode = "portrait"
Landscape Mode = "landscape"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.