leaflet-sidebar-v2 icon indicating copy to clipboard operation
leaflet-sidebar-v2 copied to clipboard

Allow determining whether sidebar is currently open or closed.

Open Leila-Codes opened this issue 4 years ago • 0 comments

The original sidebar plugin (v1) provided an isVisible() function that would allow the user to determine whether the sidebar was open or closed.

This is particularly useful feature as it allows toggling of other element's (e.g. dialogs) styles and classes to better resize on the screen when the sidebar is open and closed.

Is it possible to provide something similar for this newer plugin?

Leila-Codes avatar Jun 01 '20 08:06 Leila-Codes