topExpanded 参数

使用 topExpanded 参数来设置或查询位于文档顶部与第一个可视元素之间的隐藏元素的可视性。如果将 topExpanded 设置为 on,则将强制使位于文档顶部与第一个可视元素之间的所有隐藏元素可视。如果将 topExpanded 设置为 off,则位于文档顶部与第一个可视元素之间的所有隐藏元素都保持隐藏。

可用性

query 命令
set 命令

作用域

当前视图。

语法

query topExpanded
set topExpanded { on | off } 

参数

on 使用 on 参数来指示应该强制使位于文档顶部与第一个可视元素之间的隐藏元素可视。
off 使用 off 参数来指示:位于文档顶部与第一个可视元素之间的隐藏元素保持隐藏状态。

描述

如果发生下列任何一项,则将 topExpanded 属性设置为 off

示例

query topExpanded
set topExpanded on 

相关参考
expandAll 命令
query 命令
set 命令
excludedClasses 参数
expanded 参数
includedClasses 参数
markIncluded 参数
markExcluded 参数