2.1.0 • Published 7 years ago

pip-webui-nav v2.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Navigation controls

npm.io

Good navigation in complex Line-of-Business applications is absolutely critical. It shall allow users to jump from one page to another and access features quickly and freely. Cumbersome navigation, unintuitive links and lots of clicks can ruin any application. Ease of use and productivity of users in the first place depend on it. Pip.WebUI.Nav module provides controls for global and local navigation.

Side navigation panel

Navigation Sidenav provided by this module is defined by configuration and does not require HTML markup. It shows navigation links with optional icons that can be combined into groups. The top of the Sidenav may contain information about the user or application.

pipSideNavProvider.sections = [
            {
                title: 'Appbar',
                icon: 'icons:goal',
                links: [
                    { title: 'Nav icons', icon: 'icons:archive', url: '/nav_icons' },
                    { title: 'Titles', icon: 'icons:list', url: '/titles' },
                    { title: 'Actions', icon: 'icons:action', url: '/actions' },
                    { title: 'Search', icon: 'icons:search', url: '/search' },
                    { title: 'Shadows', icon: 'icons:lamp', url: '/shadows' },

                    { title: 'Tabs', icon: 'icons:folder', url: '/tabs' },
                    { title: 'Dropdown', icon: 'icons:list', url: '/dropdown' },
                ]
            },
            {
                title: 'SideNav',
                icon: 'icons:area',
                links: [
                    { title: 'StickySideNav', icon: 'icons:submenu', url: '/sticky_sidenav' },
                    { title: 'Navigations', icon: 'icons:preview', url: '/navigations' }
                ]
            }
        ];

Sidenav have to representation: popup-sidenav and sticky-sidenav. A popup-sidenav can be opened and closed programatically. By default, upon opening it will slide out on left of the main content area. A sticky-sidenav have some state which depend on the size of the browser window. Please see pipMedia breakpoints...

Breakpointsticky-sidenav state
xs, smpopup-sidenav
mdicon-sidenav
lgresized-sidenav
xlfull-sidenav

popup-sidenav

icon-sidenav

resized-sidenav

full-sidenav

Application bar

Appbar similar to Sidenav has a complex structure that if defined by configuration. It contains menu icon, title that can be turned into breadcrumb, primary actions on the bar, secondary actions hidden in popup menu and search.

menu icon

title

breadcrumb

primary actions

secondary actions

search

Navigation tabs

Navigation tabs are similar to regular tabs. But they contain links and turn into Navigation dropdown on smaller screens.

Navigation dropdown

Navigation dropdown control is places at the top of the page, properly styled and contains navigation links

Learn more about the module

Module dependencies

License

This module is released under MIT license and totally free for commercial and non-commercial use.

2.1.0

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.5.0

7 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago