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
Name | Description | Type | Default |
---|---|---|---|
file (required) | The file to make available for download, as a URL or file-like object. | Union[str, io.IOBase] | None |
download_text | Text displayed on the download button. | str | 'Download' |
full_width | Whether the download button should take up the full width of its container. | bool | False |