kvision / pl.treksoft.kvision.form.upload / getContent

getContent

(js) suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile

Returns file with the content read.

Parameters

key - key identifier of the control

kFile - object identifying the file

Return
KFile object