openSidebar | R Documentation |
Open the Sidebar by ID
openSidebar(map, id, sidebar_id = NULL, ns = NULL)
map |
A leaflet map widget |
id |
The id of the |
sidebar_id |
The id of the sidebar (per |
ns |
The namespace function, if used in Shiny modules. |
the new map
object
Other Sidebar Functions:
addSidebar()
,
closeSidebar()
,
removeSidebar()
,
sidebar_pane()
,
sidebar_tabs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.