Edit this topic

File navigation provider

: shell

: file-navigation-provider

: navigation-provider

: /modules/core/navigation/services/file-navigation-provider.js

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


Kind: global class

new FileNavigationProvider(scope)

Builds menu items from JSON files.

Param Type Description
scope object The scope.


Adds navigation items for a menu.

Kind: instance method of FileNavigationProvider

Param Type Description
[context.menu] string The name of the menu.
[context.items] Array The array of menu top-level items.
done function The callback function.