SB-Admin-BS4-Angular-8 icon indicating copy to clipboard operation
SB-Admin-BS4-Angular-8 copied to clipboard

Add sidebar that collapses to icons

Open webnegar opened this issue 6 years ago • 4 comments

Please add sidebar that collapses to icons with animation.

some exapmles: https://bootsnipp.com/snippets/Pa9xl https://codepen.io/anon/pen/rpmLLz https://www.codeply.com/go/ecE6qHNBOC

webnegar avatar Jul 03 '18 06:07 webnegar

@webnegar Added PR to this issue.

oxmap avatar Jul 14 '18 11:07 oxmap

@oxmap Thx for adding sidebar collapse.

I have the following enhancement ideas:

When sidebar is collapsed the icon should change to ">>".

Main menus with submenus do open, but the submenus are not clickable. Would be nice to have a "hooverable" menu. Menu nodes expand/collapse when hoovered. Menu hierarchie is completely shown on top of the main-container.

FritzHerbers avatar Jul 30 '18 12:07 FritzHerbers

@FritzHerbers some of features you wrote, I forgot to develop, but designed it. On weekdays i’ll continue enhancement on your thoughts.

oxmap avatar Jul 30 '18 13:07 oxmap

When the sidebar is collapsed, I just set this.showMenu to '0' to make hide the submenus and when the user click in icon with menu collapsed, I call this.toggleCollapsed() to show all menu.

dhuebes avatar Oct 02 '18 23:10 dhuebes