Sidebar Collapse

<sw-sidebar-collapse> extends <sw-collapse>

Methods

Method name Parameters
collapseItem No parameters

Imports

  • ./sw-sidebar-collapse.html.twig
  • ./sw-sidebar-collaps.scss

SASS variables

Variable name Value
$sw-sidebar-collapse-color-divider $color-steam-cloud ($color-gray-300)
$sw-sidebar-collapse-color-title $color-gutenberg ($color-darkgray-200)
$sw-sidebar-collapse-font-size-title $font-size-default (16px)

Twig blocks

  • sw_sidebar_collapse_panel_header_slot
  • sw_sidebar_collapse_title
  • sw_sidebar_collapse_buttons
  • sw_collapse_panel_header_slot
  • sw_collapse_panel_header
  • sw_sidebar_collapse_panel_content_slot
  • sw_sidebar_collapse_panel_content_template
  • sw_collapse_panel_content_slot

Slots

  • header
  • content