Edit this topic


: shell

: navigation

: navigation-service

: /modules/core/navigation/services/navigation.js

: https://github.com/DecentCMS/DecentCMS/blob/master/modules/core/navigation/services/navigation.js

A service that queries navigation providers and caches results at the site level.

Kind: global class

new Navigation(scope)

Param Type Description
scope object The scope.

Queries navigation providers to build a menu's items.

Kind: instance method of Navigation

Param Type Description
context object The context.
context.menu string The menu to build items for.
context.items Array The list of items is set here by the service.
done function The callback.