The expanded parameter may be used to query or set 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.
query command
set command
The current element view.
query expanded set expanded { on | off }
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. |
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.
query expanded set expanded on
expandAll command
query command
set command
excludedClasses parameter
includedClasses parameter
markIncluded parameter
markExcluded parameter
topExpanded parameter