Skip to content

SiSidePanelComponent documentation

selector
si-side-panel

Input Properties

NameTypeDefaultDescription
breakpoints
BreakpointsSpecifies custom breakpoints to automatically switch mode.
The smMinimum specifies the breakpoint for the mobile view.
The lgMinimum specifies the breakpoint to allow scroll mode
(below automatically uses over mode).
The xlMinimum specifies the breakpoint to allow scroll mode
with wide size (below automatically uses over mode).
collapsed
booleanDefault state of navigation
collapsible
booleanfalse
enableMobile
booleanfalseEnable mobile drawer for small screen sizes. Should not be used in conjunction with the vertical navbar.
mode
SidePanelMode'over'Mode of side panel (ignored below a certain width)
size
SidePanelSize'regular'Size of side-panel
toggleItemLabel
TranslatableString$localize`:@@SI_SIDE_PANEL.TOGGLE:Toggle`Toggle icon aria-label, required for a11y

Output Properties

NameTypeDescription
closed
voidEmits when the panel is closed
collapsedChange
booleanDefault state of navigation
contentResize
ElementDimensionsEmits whenever the content is resized due to opening and closing or parent resize.

Attributes and Methods

NameTypeDefaultDescription
toggleSidePanel()
() => voidToggle whether the side panel is expanded or not.

Types Documentation

Properties
lgMinimum: number
mdMinimum: number
smMinimum: number
xlMinimum: number
xxlMinimum: number
("scroll" | "over")
Side panel mode options. - scroll: pushes content when side panel opens/closes, - over: Opens as an overlay on existing content. Just like modal.
("wide" | "regular")
Side panel size options. - wide: 500px, - regular: 390px
Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality.
Properties
height: number
width: number
Translatable
import

Except where otherwise noted, content on this site is licensed under MIT License.