# setPageOrientation 切换横竖屏(8.18 新增)

# Attributes

属性 类型 必要 默认值 说明
params Object Y -

# 调用示例

window.bridge.setPageOrientation({
    orientation: 'landscape'
}, res => {
    console.log(res)
}, err => {
    console.log(err)
})

# callback

属性 类型 必要 默认值 说明

# 接口返回示例

{}