Fluid Topics offers the following Custom component built-in JavaScript variables:
| Name | Availability | Description |
|---|---|---|
cluster |
Result templates designer | Information about the current result's cluster. |
currentPage |
Reader designer and (page) components | Information about the current page of the document. |
document |
All designers | Allows the Custom component's JavaScript code to access elements in the component's HTML code. |
facets |
Search results designer and Result templates designer | Information about the current search facets. |
map |
Reader designer and Topic template designer | Information about the document. |
paging |
Search results designer and Result templates designer | Information about the current search paging. |
request |
Search results designer and Result templates designer | Information about the search request. |
result |
Result templates designer | Information about the search result. |
results |
Search results designer and Result templates designer | Information about the search results. |
spellcheck |
Search results designer and Result templates designer | Information about the current search spellcheck. |
toc |
Reader designer | Information about the table of content of the document. |
topic |
Topic template designer | Information about the topic. |
user |
All designers | Information about the current user. |