expanded parameter
Use the expanded parameter to set or query the visibility of hidden elements between the current element and the next visible element. If there are hidden elements in the document view, you can set expanded for each of the visible elements that are followed by hidden elements. If you set expanded to on, all of the hidden elements between the specified element and the next visible element will be forced visible. If you set expanded to off, all of the hidden elements between the specified element and the next visible element will remain hidden.
Availability
query command
set command
Scope
The current element view.
Syntax
query expanded set expanded { on | off }
Parameters
on Use the on parameter to indicate that the hidden elements between the curent element and the next visible element should be forced visible. off Use the off parameter to indicate that the hidden elements between the current element and the next visible element should remain hidden.
Description
The expanded attribute of all of the elements in the document view is set to off if the any of the following happens:
- the includedClasses parameter is altered
- the excludedClasses parameter is altered
- the markIncluded parameter is altered
- the markExcluded parameter is altered.
Examples
query expanded set expanded on
expandAll command
query command
set command
excludedClasses parameter
includedClasses parameter
markIncluded parameter
markExcluded parameter
topExpanded parameter