fluidDashboardBody
inserts a javascript snippet at the beginning of
the standard dashboardBody
outuput, which tells the content of the dashboard
body to automatically adjust its sizing when the sidebar button is toggled.
It also provides the option to begin the app with the sidebar collapsed (sidebarCollapsed = TRUE
).
1 | fluidDashboardBody(..., sidebarCollapsed = FALSE)
|
... |
Items to put in the dashboard body. |
sidebarCollapsed |
If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.