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 "...". The three dots will be added after the first space after the length you specify. This is to avoid accidentally creating "strange" words.

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>