src/app/app.component.ts
The main application component. ~implements OnInit ~implements AfterViewInit ~implements OnDestroy
OnInit
AfterViewInit
OnDestroy
selector | app-root |
styleUrls | ./app.component.scss |
templateUrl | ./app.component.html |
Properties |
|
Methods |
Accessors |
constructor(appService: AppService, themeChangerService: ThemeChangerService, persistenceService: PersistenceService)
|
||||||||||||||||
Constructs the app.
Parameters :
|
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 :
Returns :
void
|
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 |
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;
}