Skip to content

FilePickerUploadEvent

Inherits: Event['FilePicker']

Event emitted when a file is uploaded via FilePicker.upload() method.

Properties

Properties#

error class-attribute instance-attribute #

error: Optional[str] = None

An error message if the upload failed.

file_name instance-attribute #

file_name: str

The name of the uploaded file.

progress class-attribute instance-attribute #

progress: Optional[float] = None

A value from 0.0 to 1.0 representing the progress of the upload.