headertext

Type: string
Default: ''
Context: prediction, questions

About this parameter

A heading that is printed above the recommendations. Ex: “Recommended reading”.

Usage examples

<div class="rek-prediction" data-headertext="Recommended reading"></div>

Example on how to use it for news recommendations:

<div class="rek-prediction"
  data-renderstyle="advanced"
  data-cols="3"
  data-fallbackimgsrc="https://logo.png"
  data-headerfontclass="normal"
  data-headerheadinglevel="1"
  data-headerid="my-id"
  data-headertext="Recommended reading"
 ></div>