Quark
#
Modules #
quark/action
quark/app
quark/bubbles
quark/buffer
quark/checkbox
quark/css
quark/ctr
quark/dialog
quark/event
quark/font
quark/fs
quark/http
quark/index
quark/keyboard
quark/media
quark/nav
quark/os
quark/path
quark/pkg
quark/screen
quark/stepper
quark/storage
quark/test
quark/types
quark/util
quark/view
quark/window
quark/_common
quark/_event
quark/_ext
quark/_util
Quark v1.2.0 Documentation
Table of Contents
quark/screen #
Enum: Orientation #
Orientation #
Invalid
Invalid, Default use the User modePortrait
PortraitLandscape
Landscape, Rotate 90 degrees clockwiseReverse_Portrait
Reverse Portrait, Rotate 180 degrees clockwiseReverse_Landscape
Reverse Landscape, Rotate 270 degrees clockwiseUser
User, Any orientation is allowedUser_Portrait
User Portrait, Portrait and Reverse_Portrait directions availableUser_Landscape
User Landscape, Landscape and Reverse_Landscape directions availableUser_Locked
User Locked, Lock the application's startup state
Enum: StatusBarStyle #
StatusBarStyle #
White
WhiteBlack
Black
Class: Screen #
Screen #
@extends
Notification
screen.onOrientation #
@event
onOrientation
:EventNoticer
<Event
<Screen
>>
screen.orientation #
Current screen direction
@get
orientation
:Orientation
screen.statusBarHeight #
@get
statusBarHeight
:number
screen.setVisibleStatusBar(visible) #
Setting whether visible for the status bar
screen.setStatusBarStyle(style) #
Setting style for the status bar
@param
style
:StatusBarStyle
@return
void
screen.preventScreenSleep(prevent) #
"true" means to prevent screen sleep else no prevent