Set of items which must be highlighted at high level. The set must be emptied and recomputed each time the style is applied.
HTML class of a highlighted element.
This class is generic, and complementary to level-specific classes (see HIGHLIGHTING_LEVELS_CLASSES).
Highlight all the given items, assuming they all belong to the same group.
The sorted list of items located in the same group.
Compute the set of items which must be highlighted at high level. The (internal) set is cleared beforehand.
Sorted list of items with their scores.
Use the given policy to score and sort the items of all the menus to adapt, and filter out any item which has a null (0) score.
The menu manager containing the menus with items to highlight.
The policy to use to score the items.
The data manager containing data for the policy.
A sorted and filtered list of items.
Return the maximum number of items which can be highlighted in a menu.
The total number of items in the menu.
The maximum number of items to highlight in the menu.
Return the maximum number of items which can be highlighted in a group.
The total number of items in the group.
The maximum number of items to highlight in the group.
Highlight all the given nodes, according to levels specified by itemsToHighlightAtHighLevel.
The list of items to highlight.
Highlight the given node at the given level, by adding appropriate HTML classes.
The node to highlight.
The level to highlight the node at.
Split all the given items by their group, and highlight them group by group (using applyInGroup).
The sorted list of items to highlight.
Generated using TypeDoc
Create a new instance of Highlight.