Navigation handler
: request
: navigation
: shape-handler
: /modules/core/navigation/services/navigation-handler.js
NavigationHandler
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. |
navigationHandler.handle(context, done) ⇒ *
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. |