Hey guys, let us check today what Webix offers to make our lives easier during app navigation. I bet that there’s something worth a closer look.
Since the launch of the library its users had a standard Menu at their disposal with the possibility of placing items horizontally or vertically (too simple). But not very long time ago the developers went further and ended up with two handsome widgets created with user-friendly navigation in mind – Sidemenu and Sidebar.
So, let’s explore the widgets’ functionality to find out the use cases that are more suitable for each of them.
Basically, Sidebar can be initialized on the page with the following code:
view: "sidebar",
data: [
{id: "dashboard", icon: "dashboard", value: "Dashboards", data:[
{ id: "dashboard1", value: "Dashboard 1"},
{ id: "dashboard2", value: "Dashboard 2"}
]},
...
]
});
And you get: