callback

Type: string
Default: ''
Context: prediction

About this parameter

The name of a function that will be executed instead of rendering.

Usage examples

  function customRenderPredictions(data) {
    data = JSON.parse(data);
    console.log(data);
  }
 
  <div class="rek-prediction" data-callback="customRenderPredictions"></div>