PromptBoxUploadButtonProps
Interface
Represents the props of the PromptBoxUploadButton component.
Definition
Package:@progress/kendo-vue-conversational-ui
Properties
accept?
string
The file types that can be selected.
multiple?
boolean
Whether multiple files can be selected.
onRemoveAttachment?
(fileName: string) => void
Fires when the user removes an attachment by clicking the remove button.
Parameters:fileNamestring
onSelectAttachments?
(event: PromptBoxSelectAttachmentsEvent) => void
Fires when the user selects files via the upload button.
Parameters:eventPromptBoxSelectAttachmentsEvent
restrictions?
UploadFileRestrictions
Restrictions on the files that can be uploaded.