Skip to main content

FileOutput

File output widget for displaying downloadable files.

Signature

def FileOutput(
file: Union[str, io.IOBase],
download_text: str = 'Download',
full_width: bool = False
)

Parameters

NameDescriptionTypeDefault
file (required)The file to make available for download, as a URL or file-like object.Union[str, io.IOBase]None
download_textText displayed on the download button.str'Download'
full_widthWhether the download button should take up the full width of its container.boolFalse