Skip to content

Instantly share code, notes, and snippets.

View trinhvanhuy's full-sized avatar
🚀

TRINH Van Huy trinhvanhuy

🚀
View GitHub Profile
@trinhvanhuy
trinhvanhuy / app.component.scss
Created January 15, 2019 13:01
Spinner - scss
.spinner-container {
width: 100%;
height: 100%;
position: absolute;
z-index: $z-spinner;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(255, 255, 255, 0.56);
}
@trinhvanhuy
trinhvanhuy / app.module.ts
Created January 15, 2019 13:21
Spinner - App Module
import { BrowserModule } from '@angular/platform-browser';
import { NgModule, Injector } from '@angular/core';
import { OAuthModule } from 'angular-oauth2-oidc';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { AppComponent } from '@containers/app/app.component';
import { StoreModule } from '@ngrx/store';
import { EffectsModule } from '@ngrx/effects';
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
import {