File

core/navigator/navigator.service.ts

Description

A service which defines the navigator.

Index

Properties
Methods
Accessors

Constructor

constructor(injector: Injector, router: Router)
Parameters :
Name Type Optional
injector Injector No
router Router No

Methods

add
add(node: NavigatorNode)

Adds a new node to the navigator.

Parameters :
Name Type Optional Description
node NavigatorNode No

Navigator node to add.

Returns : void
openOnFirstUrl
openOnFirstUrl(node: NavigatorNode)

Checks whenever a navigator entry associated with the given URL should be expanded.

Parameters :
Name Type Optional Description
node NavigatorNode No

Navigator node.

Returns : any
refresh
refresh()

Refresh the extension factories.

Returns : void
remove
remove(node: NavigatorNode)

Removes a node from the navigator.

Parameters :
Name Type Optional Description
node NavigatorNode No

Navigator node to remove.

Returns : void

Properties

firstUrl
firstUrl:
Default value : true

Indicates whether the menu entry associated with the given URL should be expanded.

items$
items$: Observable<NavigatorNode[]>
Type : Observable<NavigatorNode[]>

Navigator menu items observable. It emits the current list of nodes in the navigator.

Readonly refreshTrigger
refreshTrigger:
Default value : new Subject()

Refresh the extension factories subject.

Accessors

state
getstate()

Returns the current state.

Returns : Set<NavigatorNode>

result-matching ""

    No results matching ""