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

MultiFileSelectionComponent
Link copied to clipboard
js
fun MultiFileSelectionComponent()

Functions

accept
Link copied to clipboard
js
fun accept(value: String)
fun accept(value: Flow<String>)
button
Link copied to clipboard
js
open fun button(styling: BasicParams.() -> Unit = {}, baseClass: StyleClass = StyleClass.None, id: String? = null, prefix: String = "file-button", build: PushButtonComponent.() -> Unit = {})
encoding
Link copied to clipboard
js
fun encoding(value: String)
equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
render
Link copied to clipboard
js
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.
toString
Link copied to clipboard
js
open fun toString(): String

Properties

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