List of folder nodes. The list must be emptied and recomputed each time the style is applied.
HTML class of a foldable element (contained by a folder).
HTML class of a folder element.
HTML class of a folded folder element (containing hidden items).
HTML class of a folder switch button (to open/close the folder).
Fold a certain subset of the given items, assuming they all belong to the same group.
The subset excludes a certain number of leading items in the given list, given by getMaxNbItemsToDisplayInGroup. Those items are left displayed above/before the folder, which contain all the remaining items (in their original order).
The sorted list of items located in the same group.
Create and append a folder switch button to the given folder node.
The folder node to add the switch button to.
Create and return a folder switch button, for the given folder node.
The folder node the button should fold and unfold.
The new button node.
Fold the folder represented by the given node.
The folder node to fold.
Return the maximum number of items which must be kept visible in a group, i.e. which will not be put into a folder.
The maximum number of items to keep displayed in the group.
Group the given items under a new folder, by moving them to a new container, and adding a button to switch the folder state.
Note: new folders are folded by default (its content is hidden).
The list of items to group under a single new folder.
Split all the given items by their group, and fold them group by group (using applyInGroup).
The sorted list of items to fold.
Switch whether the folder represented by the given node is folded or unfolded.
The folder node to fold or unfold.
Unfold the folder represented by the given node.
The folder node to unfold.
Generated using TypeDoc
Create a new instance of Fold.