dashapp.pages.home¶
Home page layout.
Functions
|
Update the URL when a dossier is selected. |
|
Save PDF files or Extract a zip of PDFs. |
- dashapp.pages.home.dossier_selected(dossier_id)[source]¶
Update the URL when a dossier is selected.
- Parameters:
dossier_id (
str
|None
) – the id of the selected dossier.- Raises:
PreventUpdate – If no dossier was selected.
- Return type:
tuple
[Div
,bool
,str
]- Returns:
The URL to navigate to.
- dashapp.pages.home.upload_files(contents, filenames)[source]¶
Save PDF files or Extract a zip of PDFs.
- Parameters:
contents (
list
[str
]) – The contents of the uploaded files.filenames (
list
[str
]) – The names of the uploaded files.
- Raises:
PreventUpdate – If no files were uploaded.
- Return type:
tuple
[Div
,None
,bool
,str
]- Returns:
The updates to the page.