FileUploadView.model
property · packages/mixins-ui/src/fileUpload.ts:872
readonly model: ModelMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/fileUpload.ts:871
interface FileUploadView<Outer> {
readonly model: Model
readonly onMessage: (message: Message) => NoInfer<Outer>
readonly label: string
readonly name?: string | undefined
readonly required?: boolean | undefined
readonly disabled?: boolean | undefined
readonly readOnly?: boolean | undefined
readonly invalid?: boolean | undefined
readonly description?: string | undefined
readonly picture?: ((url: Option.Option<string>) => Html) | undefined
readonly itemActions?: ((entry: Entry) => ReadonlyArray<Html>) | undefined
readonly progress?: Progress | undefined
readonly routes?: ReadonlyArray<Route<NoInfer<Outer>>> | undefined
readonly sort?:
| {
readonly input: unknown
readonly mixin: MixinValue<Outer>
}
| undefined
readonly words?: Partial<FileUploadWords> | undefined
readonly style?: NamedStyle<typeof FileUploadSlots> | undefined
readonly mixins?: MixinList<Outer> | undefined
}FileUploadView.modelproperty · packages/mixins-ui/src/fileUpload.ts:872
readonly model: ModelFileUploadView.onMessageproperty · packages/mixins-ui/src/fileUpload.ts:874
readonly onMessage: (message: Message) => NoInfer<Outer>Lifts the field's own Messages into the application's.
FileUploadView.labelproperty · packages/mixins-ui/src/fileUpload.ts:876
readonly label: stringNames the input (the picker's words) and the list.
FileUploadView.nameproperty · packages/mixins-ui/src/fileUpload.ts:878
readonly name?: string | undefinedThe form field the local files submit under. Give none when lanes sends them.
FileUploadView.requiredproperty · packages/mixins-ui/src/fileUpload.ts:880
readonly required?: boolean | undefinedThe native required.
FileUploadView.disabledproperty · packages/mixins-ui/src/fileUpload.ts:882
readonly disabled?: boolean | undefinedThe input takes no pick or drop, and the buttons are off.
FileUploadView.readOnlyproperty · packages/mixins-ui/src/fileUpload.ts:884
readonly readOnly?: boolean | undefinedNo picker, remove or grip is drawn; the input stays, so a form still posts.
FileUploadView.invalidproperty · packages/mixins-ui/src/fileUpload.ts:885
readonly invalid?: boolean | undefinedFileUploadView.descriptionproperty · packages/mixins-ui/src/fileUpload.ts:886
readonly description?: string | undefinedFileUploadView.pictureproperty · packages/mixins-ui/src/fileUpload.ts:888
readonly picture?: ((url: Option.Option<string>) => Html) | undefinedDraws the single-image face (an avatar, a cover) in the picker: given the first entry's image address. The list is not drawn.
FileUploadView.itemActionsproperty · packages/mixins-ui/src/fileUpload.ts:890
readonly itemActions?: ((entry: Entry) => ReadonlyArray<Html>) | undefinedExtra buttons in a row's actions, such as a download or a zoom.
FileUploadView.progressproperty · packages/mixins-ui/src/fileUpload.ts:892
readonly progress?: Progress | undefinedDraws an uploading entry's progress; built by the application (FileUploadProgress.make).
FileUploadView.routesproperty · packages/mixins-ui/src/fileUpload.ts:894
readonly routes?: ReadonlyArray<Route<NoInfer<Outer>>> | undefinedKeys the application answers in the input, beside Enter and Space (which open the dialog) and Delete or Backspace.
FileUploadView.sortproperty · packages/mixins-ui/src/fileUpload.ts:896
readonly sort?:
| {
readonly input: unknown
readonly mixin: MixinValue<Outer>
}
| undefinedDraws a grip per row and marks the list sortable: the sort Behavior is the application's (Reorder.behavior), given with the model it reads.
FileUploadView.wordsproperty · packages/mixins-ui/src/fileUpload.ts:897
readonly words?: Partial<FileUploadWords> | undefinedFileUploadView.styleproperty · packages/mixins-ui/src/fileUpload.ts:899
readonly style?: NamedStyle<typeof FileUploadSlots> | undefinedA style of FileUploadSlots, for the field's look.
FileUploadView.mixinsproperty · packages/mixins-ui/src/fileUpload.ts:901
readonly mixins?: MixinList<Outer> | undefinedMixins beside the style.