MultiFileSelectionComponent

open class MultiFileSelectionComponent : FileSelectionBaseComponent, Component<Flow<List<File>>>

Specific component for handling the upload for an arbitrary amount of files.

For the common configuration options @see FileSelectionBaseComponent.

Constructors

Link copied to clipboard
fun MultiFileSelectionComponent()

Functions

Link copied to clipboard
fun accept(value: String)
fun accept(value: Flow<String>)
Link copied to clipboard
open fun button(    styling: BasicParams.() -> Unit = {},     baseClass: StyleClass = StyleClass.None,     id: String? = null,     prefix: String = "file-button",     build: PushButtonComponent.() -> Unit = {})
Link copied to clipboard
fun encoding(value: String)
Link copied to clipboard
open override fun render(    context: RenderContext,     styling: BoxParams.() -> Unit,     baseClass: StyleClass,     id: String?,     prefix: String): Flow<List<File>>

Central method that should do the actual rendering of a component.

Properties

Link copied to clipboard
val base64: FileReadingStrategy
Link copied to clipboard
Link copied to clipboard
val plainText: (String) -> FileReadingStrategy