file

fun file(acceptedTypes: Set<MimeType<*>> = emptySet()): FieldVisualizer<LocalFile>(source)

Creates a FileSelector control that is bound to a Field (of type LocalFile).

Parameters

acceptedTypes

defines which file types to allow