/ui/elements/themeLegendSwitch
The module exports a method to create a switch for theme legends.
Methods
(inner) themeLegendSwitch() → {HTMLElement}
The method returns a HTMLElement with a button which toggles all label elements in the legend.
Returns:
HTMLElement with nested button.
- Type:
- HTMLElement