renderstyle
Type: string
Default:
Context: prediction
About this parameter
If and how should the recommendations be rendered: list, advanced, pills, searchresult. The default is list.
| Parameter value | Explanation |
|---|---|
| list | The default way which results in a list where each LI contains an A that links to the page. If data-listcols is combined with renderstyle="list" the result is formatted as a table. |
| advanced | Often used for news recommendations. Includes image, title and preamble. |
| pills | Creates oval shaped links with the appearance called "pills" |
| searchresult | Displays results in a search result format, read more on searchresult |
Usage examples
<div class="rek-prediction" data-renderstyle="advanced"></div>