File

src/app/app.component.ts

Description

The main application component. ~implements OnInit ~implements AfterViewInit ~implements OnDestroy

Implements

OnInit AfterViewInit OnDestroy

Metadata

Index

Properties
Methods
Accessors

Constructor

constructor(appService: AppService, themeChangerService: ThemeChangerService, persistenceService: PersistenceService)

Constructs the app.

Parameters :
Name Type Optional Description
appService AppService No

The апп service dependency.

themeChangerService ThemeChangerService No

The theme changer service dependency.

persistenceService PersistenceService No

The persistence service injected dependency.

Methods

ngAfterViewInit
ngAfterViewInit()

AfterViewInit handler.

Returns : void
ngOnDestroy
ngOnDestroy()

Cleanup

Returns : void
ngOnInit
ngOnInit()

OnInit handler.

Returns : void
Public onNavStateChanged
onNavStateChanged(navStateConfiguration: ContextConfiguration)

Nav state changed event handler.

Parameters :
Name Type Optional Description
navStateConfiguration ContextConfiguration No

The new state configuration.

Returns : void

Properties

Public Readonly animationRoot
Type : ElementRef<HTMLDivElement>
Decorators :
@ViewChild('animationRoot')

The animation root element.

Public Readonly main
Type : ElementRef<HTMLDivElement>
Decorators :
@ViewChild('main')

Main element.

Public title
Type : string
Default value : 'cv-generator-fe'

The application title

Accessors

tinted
gettinted()

Tinted getter.

microprinted
getmicroprinted()

Microprinted getter.

context
getcontext()

Context getter.

./app.component.scss

@use "components/stylesheets/stylesheets.component.animation.scss" as animation;

.css-keep {
  padding: 0;
}

#main {
  transition: animation.$transition;
}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""