Bootstrap Upload
open class BootstrapUpload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: BootstrapUpload.() -> Unit? = null)
The form field file upload component for Bootstrap.
Parameters
upload Url
the optional URL for the upload processing action
multiple
determines if multiple file upload is supported
label
label text bound to the input element
rich
determines if label can contain HTML code
init
an initializer extension function
Constructors
Link copied to clipboard
fun BootstrapUpload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: BootstrapUpload.() -> Unit? = null)
Types
Functions
Link copied to clipboard
Link copied to clipboard
Clears the file input control (including the native input).
Link copied to clipboard
Returns the native JavaScript File object.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Resets the file input control.
Link copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Extensions
Link copied to clipboard
suspend fun BootstrapUpload.getFileWithContent(kFile: <Error class: unknown class>): <Error class: unknown class>
Returns file with the content read.