rt

Type: string
Default: ''
Context: prediction

About this parameter

Specifies returntype: default is JSON, svauto = autocomplete for SiteVision.

If the result is to be returned in a different format than the standard one, you can add this parameter.

Parameter valueExplanation
svautoAdapted for autocomplete in SiteVision. Means that only title is returned in an array ["page 1", "page 2"]
waspAdapted to be read aloud
flatPredictions end up in a simple array. The result comes in an array that does not have the level of prediction that is otherwise included in every return object. [{prediction-object},{prediction-object}]

Usage examples

<div class="rek-prediction" data-rt="svauto"></div>