Options
All
  • Public
  • Public/Protected
  • All
Menu

External module adaptation

Index

Type aliases

AvailablePolicies

Union type of all the available policies.

AvailableStyle

Union type of all the available styles.

Variables

Const AVAILABLE_POLICIES

AVAILABLE_POLICIES: (AccessRankPolicy | LongestVisitDurationPolicy | MostClickedItemsPolicy | MostRecentVisitsPolicy | MostVisitedPagesPolicy | SerialPositionCurvePolicy)[] = [new MostClickedItemsPolicy(),new MostVisitedPagesPolicy(),new MostRecentVisitsPolicy(),new LongestVisitDurationPolicy(),new SerialPositionCurvePolicy(),new AccessRankPolicy()]

List of all the policies available in SAM.

Const AVAILABLE_POLICY_NAMES

AVAILABLE_POLICY_NAMES: string[] = AVAILABLE_POLICIES.map((policy) => {return policy.name;})

List of the names of all the policies available in SAM.

Const AVAILABLE_STYLES

AVAILABLE_STYLES: (Highlight | ReorderItems | ProgressiveHighlightAndReorderItems | Identity | HighlightAndReorderItems | Fold | ReorderItemsAndFold | HighlightReorderItemsAndFold | ReorderGroups | HighlightAndReorderAll)[] = [new Identity(),new Highlight(),new ReorderItems(),new HighlightAndReorderItems(),new Fold(),new ReorderItemsAndFold(),new HighlightReorderItemsAndFold(),new ReorderGroups(),new HighlightAndReorderAll(),new ProgressiveHighlightAndReorderItems()]

List of all the styles available in SAM.

Const AVAILABLE_STYLE_NAMES

AVAILABLE_STYLE_NAMES: string[] = AVAILABLE_STYLES.map((style) => {return style.name;})

List of the names of all the styles available in SAM.

Const HIGHLIGHTING_LEVELS_CLASSES

HIGHLIGHTING_LEVELS_CLASSES: string[] = Object.keys(HighlightingLevel).map((key) => {return HighlightingLevel[key];})

List of the HTML classes of highlighted elements, of each highlighting level. They are equal to the value of the related enum options.

Generated using TypeDoc