kvision / pl.treksoft.kvision.form.select / toJs

toJs

fun AjaxOptions.toJs(emptyOption: Boolean): dynamic

Convert AjaxOptions to JavaScript JSON object.

Parameters

emptyOption - add an empty position as the first select option

Return
JSON object