File

src/app/components/navigation/navigation.component.ts

Description

Navigation component ~implements AfterViewInit

Implements

AfterViewInit

Metadata

Index

Properties
Methods
Inputs
Accessors

Constructor

constructor(portfolioService: PortfolioService, entitiesService: EntitiesService, generalTimelineService: GeneralTimelineService, uiService: UiService, persistenceService: PersistenceService)

Constructs the Navigation component.

Parameters :
Name Type Optional Description
portfolioService PortfolioService No

The portfolio service injected dependency.

entitiesService EntitiesService No

The entities service injected dependency.

generalTimelineService GeneralTimelineService No

The general timeline service injected dependency.

uiService UiService No

The ui service injected dependency.

persistenceService PersistenceService No

The persistence service injected dependency.

Inputs

position
Type : any

Instance identification position: '' (top) or ' bottom' (bottom).

Methods

Public count
count(key: string)

Formatted section counter

Parameters :
Name Type Optional
key string No
Returns : any
Public decorateMain
decorateMain(key: string)

Decorates a main section.

Parameters :
Name Type Optional Description
key string No

The entity key.

Returns : any

The processed section name.

Public getCountValue
getCountValue(key: string)

Count cache, aggregation or fixed collection length value delegate.

Parameters :
Name Type Optional
key string No
Returns : number
Initialize
Initialize()

Initialization

Returns : void
ngAfterViewInit
ngAfterViewInit()

Initialization

Returns : void
Public nonBreaking
nonBreaking(sectionName: string)

Makes spaces in a section name non-breaking.

Parameters :
Name Type Optional Description
sectionName string No

The name of the section to process.

Returns : string

The processed section name.

Public tabName
tabName(key: string)

Tab name delegate.

Parameters :
Name Type Optional
key string No
Returns : string
Public trackByFn
trackByFn(index: any, item: any)

TrackBy iterator help function.

Parameters :
Name Type Optional
index any No
item any No
Returns : any

Properties

Public entitiesService
Type : EntitiesService
The entities service injected dependency.
Public generalTimelineService
Type : GeneralTimelineService
The general timeline service injected dependency.
Public persistenceService
Type : PersistenceService
The persistence service injected dependency.
Public portfolioService
Type : PortfolioService
The portfolio service injected dependency.

Accessors

key
getkey()

The component key

componentName
getcomponentName()

Main component name delegate.

entities
getentities()

Entities delegate.

linkToThisSymbol
getlinkToThisSymbol()

Link-to-this symbol delegate.

linkToThisText
getlinkToThisText()

Link-to-this text delegate.

./navigation.component.scss

@use "../stylesheets/stylesheets.component.scss";

.tab {
  margin-left: 8px;
}

a {
  display: inline-block;
}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""