File

src/app/components/header/header.component.ts

Description

Header component.

Metadata

Index

Properties
Methods
Inputs
Accessors

Constructor

constructor(portfolioService: PortfolioService, entitiesService: EntitiesService, inputService: InputService, uiService: UiService, persistenceService: PersistenceService)

Constructs the Header component. ~constructor

Parameters :
Name Type Optional Description
portfolioService PortfolioService No

The portfolio service injected dependency.

entitiesService EntitiesService No

The entities service injected dependency.

inputService InputService No

The input service injected dependency.

uiService UiService No

The ui service injected dependency.

persistenceService PersistenceService No

The persistence service injected dependency.

Inputs

editModeOnly
Type : boolean
Default value : false

Edit mode only

headingLevel
Type : number
Default value : 1

The heading level

key
Type : string
Default value : 'Header'

The component key

nextSortElement
Type : HTMLElement

Next sort synced index entity panel element.

toggles
Type : ToggleKind[]
Default value : []

Toggles

Methods

keypress
keypress(event: KeyboardEvent)

Simulate keyboard clicks delegate.

Parameters :
Name Type Optional
event KeyboardEvent No
Returns : void
saveToggle
saveToggle(event: MouseEvent)

Save toggle delegate.

Parameters :
Name Type Optional
event MouseEvent No
Returns : void
tabName
tabName(key: string)

Tab name delegate.

Parameters :
Name Type Optional
key string No
Returns : string

Properties

Optional clickable
Type : ElementRef<HTMLDivElement>
Decorators :
@ViewChild('clickable')

Header clickable element.

Public entitiesService
Type : EntitiesService
The entities service injected dependency.
headerTitle
Type : HeaderTitleComponent
Decorators :
@ViewChild('headerTitle')

The header title element.

Public portfolioService
Type : PortfolioService
The portfolio service injected dependency.
toolbar
Type : ToolbarComponent
Decorators :
@ViewChild('toolbar')

The toolbar element.

Accessors

entities
getentities()

Entities delegate.

decorations
getdecorations()

Decorations delegate.

./header.component.scss

@use "../stylesheets/stylesheets.component.scss";
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""