Package io. kvision. form. upload
Full-featured file upload component with drag & drop, preview and AJAX upload mode.
Types
Upload Input
Link copied to clipboard
open class UploadInput(uploadUrl: String?, multiple: Boolean, className: String?, init: UploadInput.() -> Unit?)
Content copied to clipboard
The file upload component.
Functions
get Content
Link copied to clipboard
suspend fun <K : Any> <ERROR CLASS><K>.getContent(key: KProperty1<K, List<<ERROR CLASS>>?>, kFile: <ERROR CLASS>): <ERROR CLASS>
Content copied to clipboard
suspend fun <K : Any> <ERROR CLASS><K>.getContent(key: KProperty1<K, List<<ERROR CLASS>>?>, kFile: <ERROR CLASS>): <ERROR CLASS>
Content copied to clipboard
Returns file with the content read.
upload Input
Link copied to clipboard
fun <ERROR CLASS>.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, className: String? = null, init: UploadInput.() -> Unit? = null): UploadInput
Content copied to clipboard
DSL builder extension function.