titlemaxlength

Type: integer
Default:
Context: prediction, questions

About this parameter

Limit the number of chars in the title, if the title is longer than 20 chars it will just add "...".

Usage examples

<div class="rek-prediction" data-titlemaxlength="20"></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"
  data-hideimage="false"
  data-ingressfontclass="normal"
  data-ingressheadinglevel="1"
  data-ingressmaxlength="20"
  data-showdate="true"
  data-showimage="true"
  data-showingress="true"
  data-titlefontclass="my-class"
  data-titleheadinglevel="1"
  data-titlemaxlength="20"
 ></div>