perfect scrollbar

This commit is contained in:
2020-04-22 11:02:36 +02:00
committed by smuddy
parent 630781a5d7
commit db2d7d8d8c
7 changed files with 119 additions and 249 deletions

View File

@@ -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';
}