ngssm-navigation
TypeScript icon, indicating that this package has built-in type declarations

18.2.2 • Public • Published

ngssm-navigation

Provides helpers to control angular navigation.

Locking/unlocking navigation for given actions

  • initialize navigation module by importing NgssmNavigationModule in AppModule
  • configure actions which lock and unlock the navigation in your feature module:
    providers: [
        ...
        {
            provide: NGSSM_NAVIGATION_LOCKING_CONFIG,
            multi: true,
            useValue: {
                actionsLockingNavigation: [TodoActionType.addTodoItem, TodoActionType.editTodoItem],
                actionsUnLockingNavigation: [TodoActionType.closeTodoItemEditor]
            }
        }
    ]
    

Readme

Keywords

none

Package Sidebar

Install

npm i ngssm-navigation

Weekly Downloads

116

Version

18.2.2

License

MIT

Unpacked Size

41.1 kB

Total Files

28

Last publish

Collaborators

  • marclion