Package-level declarations

Full-featured file upload component with drag & drop, preview and AJAX upload mode.

Types

Link copied to clipboard
open class BootstrapUpload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: BootstrapUpload.() -> Unit? = null) : SimplePanel, KFilesFormControl, MutableState<List<KFile>?>

The form field file upload component for Bootstrap.

Link copied to clipboard
open class BootstrapUploadInput(uploadUrl: String? = null, multiple: Boolean = false, className: String? = null, init: BootstrapUploadInput.() -> Unit? = null) : Widget, GenericFormComponent<List<KFile>?> , FormInput, MutableState<List<KFile>?>

The file upload component for Bootstrap

Functions

Link copied to clipboard
fun Container.bootstrapUpload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: BootstrapUpload.() -> Unit? = null): BootstrapUpload

DSL builder extension function.

Link copied to clipboard
fun Container.bootstrapUploadInput(uploadUrl: String? = null, multiple: Boolean = false, className: String? = null, init: BootstrapUploadInput.() -> Unit? = null): BootstrapUploadInput

DSL builder extension function.

Link copied to clipboard

Returns file with the content read.