trait HasSidebar (View source)

Properties

protected string $sidebarWidth
protected string $collapsedSidebarWidth
protected bool|Closure $isSidebarCollapsibleOnDesktop
protected bool|Closure $isSidebarFullyCollapsibleOnDesktop
protected bool|Closure $hasCollapsibleNavigationGroups

Methods

sidebarCollapsibleOnDesktop(bool|Closure $condition = true)

No description

sidebarFullyCollapsibleOnDesktop(bool|Closure $condition = true)

No description

collapsibleNavigationGroups(bool|Closure $condition = true)

No description

sidebarWidth(string $width)

No description

collapsedSidebarWidth(string $width)

No description

string
getSidebarWidth()

No description

string
getCollapsedSidebarWidth()

No description

bool
bool
bool

Details

HasSidebar sidebarCollapsibleOnDesktop(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasSidebar

HasSidebar sidebarFullyCollapsibleOnDesktop(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasSidebar

HasSidebar collapsibleNavigationGroups(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasSidebar

HasSidebar sidebarWidth(string $width)

No description

Parameters

string $width

Return Value

HasSidebar

HasSidebar collapsedSidebarWidth(string $width)

No description

Parameters

string $width

Return Value

HasSidebar

string getSidebarWidth()

No description

Return Value

string

string getCollapsedSidebarWidth()

No description

Return Value

string

bool isSidebarCollapsibleOnDesktop()

No description

Return Value

bool

bool isSidebarFullyCollapsibleOnDesktop()

No description

Return Value

bool

bool hasCollapsibleNavigationGroups()

No description

Return Value

bool