“PAGE” 方法

$t.toFullScreen(?target)

全屏显示 target 目标元素

参数

target (Element): 目标元素。默认为 document.body

示例

$t.toFullScreen() // 全屏显示当前页面

$t.toFullScreen(document.getElementById('box')) // 全屏显示 id="box" 的元素

results matching ""

    No results matching ""