src/app/components/header/header.component.ts
Header component.
selector | app-header |
styleUrls | ./header.component.scss |
templateUrl | ./header.component.html |
Properties |
|
Methods |
Inputs |
Accessors |
constructor(portfolioService: PortfolioService, entitiesService: EntitiesService, inputService: InputService, uiService: UiService, persistenceService: PersistenceService)
|
||||||||||||||||||||||||
Constructs the Header component. ~constructor
Parameters :
|
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 |
keypress | ||||||
keypress(event: KeyboardEvent)
|
||||||
Simulate keyboard clicks delegate.
Parameters :
Returns :
void
|
saveToggle | ||||||
saveToggle(event: MouseEvent)
|
||||||
Save toggle delegate.
Parameters :
Returns :
void
|
tabName | ||||||
tabName(key: string)
|
||||||
Tab name delegate.
Parameters :
Returns :
string
|
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. |
entities |
getentities()
|
Entities delegate. |
decorations |
getdecorations()
|
Decorations delegate. |
./header.component.scss
@use "../stylesheets/stylesheets.component.scss";