closeSidebar: Close the Sidebar

View source: R/sidebar.R

closeSidebarR Documentation

Close the Sidebar

Description

Close the Sidebar

Usage

closeSidebar(map, sidebar_id = NULL)

Arguments

map

A leaflet map widget

sidebar_id

The id of the sidebar (per sidebar_tabs). Defaults to NULL such that the first sidebar is used.

Value

the new map object

See Also

Other Sidebar Functions: addSidebar(), openSidebar(), removeSidebar(), sidebar_pane(), sidebar_tabs()


leaflet.extras2 documentation built on April 3, 2025, 10:46 p.m.