@heybox/hb-sdk API Reference - v0.9.5
正在准备搜索索引...
index
MiniProgramDisplayState
接口 MiniProgramDisplayState
宿主确认生效的小程序展示状态;不表示手机旋转传感器状态。
interface
MiniProgramDisplayState
{
fullscreen
:
boolean
;
orientation
:
MiniProgramOrientationMode
;
}
索引
属性
fullscreen
orientation
属性
fullscreen
fullscreen
:
boolean
是否同时收起胶囊和宿主额外顶部栏;横屏始终为 true。
orientation
orientation
:
MiniProgramOrientationMode
当前小程序锁定的窗口方向。
显示设置
成员可见性
继承
外部
配色
自动
浅色
深色
目录
属性
fullscreen
orientation
@heybox/hb-sdk API Reference - v0.9.5
加载中……
宿主确认生效的小程序展示状态;不表示手机旋转传感器状态。