Edit this topic

Navigation handler

: request

: shape-handler

: navigation

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

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

class: NavigationHandler

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.

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.