perfect scrollbar
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {fader} from './animations';
|
||||
|
||||
@Component({
|
||||
@@ -7,6 +7,13 @@ import {fader} from './animations';
|
||||
styleUrls: ['./app.component.less'],
|
||||
animations: [fader]
|
||||
})
|
||||
export class AppComponent {
|
||||
export class AppComponent implements OnInit {
|
||||
public static hideLoader = () => document.querySelector('#load-bg').classList.add('hidden');
|
||||
|
||||
public ngOnInit(): void {
|
||||
setTimeout(() => AppComponent.hideLoader(), 800);
|
||||
|
||||
}
|
||||
|
||||
title = 'wgenerator';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user