Package io.kvision.utils

Interfaces and helper functions for Snabbdom virtual dom implementation and a few useful extension functions.

Functions

getContent
Link copied to clipboard
suspend fun <ERROR CLASS>.getContent(): String

Suspending extension function to get file content.

getDataWithFileContent
Link copied to clipboard
suspend fun <K : Any> <ERROR CLASS><K>.getDataWithFileContent(): K
suspend fun <K : Any> <ERROR CLASS><K>.getDataWithFileContent(): K

Returns current data model with file content read for all KFiles controls.