Package dev.fritz2.components.file

Types

FileReadingStrategy
Link copied to clipboard
js
typealias FileReadingStrategy = (File) -> Flow<File>

function for reading the jsFile to a File with File.content as a String

FileSelectionBaseComponent
Link copied to clipboard
js
abstract class FileSelectionBaseComponent
This abstract class is the base configuration for file inputs.
MultiFileSelectionComponent
Link copied to clipboard
js
open class MultiFileSelectionComponent : FileSelectionBaseComponent, Component<Flow<List<File>>>
Specific component for handling the upload for an arbitrary amount of files.
SingleFileSelectionComponent
Link copied to clipboard
js
open class SingleFileSelectionComponent : FileSelectionBaseComponent, Component<Flow<File>>
Specific component for handling the upload for one file at once.