File

src/app/components/project/project.component.ts

Description

Project component ~implements OnInit ~implements OnDestroy ~implements AfterViewInit

Implements

OnInit OnDestroy AfterViewInit

Metadata

Index

Properties
Methods
Accessors

Constructor

constructor(portfolioService: PortfolioService, engine: EngineService, entitiesService: EntitiesService, chartService: ChartService, sorterService: SorterService, truncatorService: TruncatorService, inputService: InputService, uiService: UiService, persistenceService: PersistenceService, dataService: DataService, ganttChartService: GanttChartService)

Constructs the Project component.

Parameters :
Name Type Optional Description
portfolioService PortfolioService No

The portfolio service injected dependency.

engine EngineService No

The engine service injected dependency.

entitiesService EntitiesService No

The entities service injected dependency.

chartService ChartService No

The chart service injected dependency.

sorterService SorterService No

The sorter service injected dependency.

truncatorService TruncatorService No

The truncator 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.

dataService DataService No

The data service injected dependency.

ganttChartService GanttChartService No

The gantt chart service injected dependency.

Methods

LoadData
LoadData(mockDataService?: MockDataService)

Load data

Parameters :
Name Type Optional Description
mockDataService MockDataService Yes

The mock data service for testing.

Returns : void
ngAfterViewInit
ngAfterViewInit()

Load data

Returns : void
ngOnDestroy
ngOnDestroy()

Cleanup

Returns : void
ngOnInit
ngOnInit()

Subscription

Returns : void
Public trackByFn
trackByFn(index: any, item: any)

TrackBy iterator help function.

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

Properties

Optional canvas
Type : ElementRef
Decorators :
@ViewChild('canvas')

The chart element.

Public Readonly chartService
Type : ChartService
The chart service injected dependency.
Public dataService
Type : DataService
The data service injected dependency.
Public Readonly engine
Type : EngineService
The engine service injected dependency.
Public Readonly entitiesService
Type : EntitiesService
The entities service injected dependency.
Public Readonly ganttChartService
Type : GanttChartService
The gantt chart service injected dependency.
Optional headerComponents
Type : QueryList<HeaderComponent>
Decorators :
@ViewChildren(HeaderComponent)

Header component.

Public Readonly inputService
Type : InputService
The input service injected dependency.
Public Readonly persistenceService
Type : PersistenceService
The persistence service injected dependency.
Public Readonly portfolioService
Type : PortfolioService
The portfolio service injected dependency.
Optional projectsHeaderTitle
Type : HeaderTitleComponent
Decorators :
@ViewChild('projectsHeaderTitle')

Projects header title element.

Public Readonly sorterService
Type : SorterService
Decorators :
@Inject(undefined)
The sorter service injected dependency.
Public Readonly truncatorService
Type : TruncatorService
Decorators :
@Inject(undefined)
The truncator service injected dependency.
Public Readonly uiService
Type : UiService
The ui service injected dependency.

Accessors

SorterKind
getSorterKind()

SorterKind enum accessor.

ToggleKind
getToggleKind()

Toggle kind enum template accessor getter.

projects
getprojects()

The projects

./project.component.scss

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

.aEmphasisCard {
    font-weight: bold;
}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""