🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@seges/angular-navigation

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seges/angular-navigation

Navigation menu for angular 1.5.8 using Telerik Kendo UI PanelBar

latest
npmnpm
Version
3.1.1
Version published
Maintainers
4
Created
Source

SEGES Navigation Menu Component for Angular 1.5.8

Requirements

The requirements are external in the sense you have to provide them yourself somehow due to commercial licensing or other factors preventing legal distribution of the package.

*Telerik Kendo UI professional license. *TypeScript =<1.8.10

Using the Navigation component

Simply import the package via TypeScript imports and add the nagivationModule as a module dependency for Angular.

Add <navigation config="your-config-object"></navigation> on the page that holds the menu.

Use the component's INavigationConfig interface to build a configuration object for the component.

Refer to the Kendo UI documentation on how to structure the objects in the items array (http://docs.telerik.com/kendo-ui/api/javascript/ui/panelbar)

In order to refresh the navigation's layout e.g. due to translations, you can overwrite the items object.

Deeplinking

If you need to mark the corresponding url whehn deeplinking to a page, the start-url can be set to the hash of the window.location object.

If you want the menu to fold out the correct top level menu item, you need to handle this in your project configuration by setting the 'expanded' property of the navigation items.

Using the Navigation Toggle component

Add <navigation-toggle config="your-toggle-config-object"></navigation-toggle> where you want the toggle to be

The toggle is only shown on tablet and phone sized screens as its purpose is to show the menu when the screen has limited space.

Use the NavigationToggleConfig interface to configure the navigation toggle.

Keywords

seges

FAQs

Package last updated on 25 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts