Elements
File
The File
class allows you to display a button that lets users download the content of the file.
You must provide either an url or a path or content bytes.
Attributes
name
str
The name of the file. This will be shown to users.
url
str
The remote URL of the file image source.
path
str
The local file path of the file image.
content
bytes
The file content of the file image in bytes format.
Example
Was this page helpful?