Edit this topic

Navigation handler

: request

: navigation

: shape-handler

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

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

Kind: global class

new NavigationHandler(scope)

A handler that adds the default navigation menu to the top-level 'navigation' zone.

Param Type Description
scope object The scope.

Queries navigation providers to build the default menu, then adds the resulting shape to the 'navigation' top-level zone under the layout shape.

Kind: instance method of NavigationHandler

Param Type Description
context object The context.
context.shape object The shape being handled. If this is not the layout shape, the method does nothing.
done function The callback.