I’ve got a couple of questions about the sidenav webcomponent.
In a recent webinar it was briefly mentioned that the sidenav component could be made fully responsive.
Is there a sample to show how this is done?
Also how do I change the width of the main form when the sidenav is hidden
Is it possible to have multiple states when expanding?
For example only the icon as the first state, icon and text as a second state and completely hidden?
just put in 2 html divs 1 sidebar and 1 container.
where you play with de css media query. This css option captures your screen pixels (in example below)
Now you can set extra css classes in javascript and lets the css do the rest.
If you need more screen media query. Just add an extra media part in the css (example @media(min-width:768px) { /* css classes go here*/} )
Thank you for your reply, but I am not sure how this relates to the sidenav component of servoy.
Do I need to edit the webcomponent files for this to work?