search:offcanvas-toggle
Description
Creates a toggle button to show/hide the side panel. Adds class to target element when directive is clicked.
Usage
as element:
<search:offcanvas-toggle target="{string}" [active-class="{string}"]> </search:offcanvas-toggle>
Parameters
Param | Type | Details |
---|---|---|
target | string | The element to add the active class to |
active-class (optional) | string | The active class, defaults to 'active' |