[Explore | Trunk]: Add animation module for openaire badge
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@58599 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
d140717461
commit
36ff7b58a8
|
@ -57,6 +57,7 @@ export class AppComponent {
|
|||
private router: Router, private userManagementService: UserManagementService) {
|
||||
router.events.forEach((event) => {
|
||||
if (event instanceof NavigationStart) {
|
||||
console.log(event.url);
|
||||
HelperFunctions.scroll();
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {NgModule} from '@angular/core';
|
||||
import {SharedModule} from './shared/shared.module';
|
||||
import {BrowserModule, BrowserTransferStateModule} from '@angular/platform-browser';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {HTTP_INTERCEPTORS, HttpClientModule} from '@angular/common/http';
|
||||
import {AppComponent} from './app.component';
|
||||
|
@ -12,8 +12,6 @@ import { CookieLawModule } from './openaireLibrary/sharedComponents/cookie-law/c
|
|||
|
||||
import {BottomModule} from './openaireLibrary/sharedComponents/bottom.module';
|
||||
import {EnvironmentSpecificResolver} from './openaireLibrary/utils/properties/environmentSpecificResolver';
|
||||
//import { EnvironmentSpecificService, REQUEST_TOKEN} from './openaireLibrary/utils/properties/environment-specific.service';
|
||||
|
||||
import {ErrorModule} from './openaireLibrary/error/error.module';
|
||||
|
||||
import {OpenaireErrorPageComponent} from './error/errorPage.component';
|
||||
|
@ -21,11 +19,12 @@ import { AppRoutingModule } from './app-routing.module';
|
|||
import {HttpInterceptorService} from "./openaireLibrary/http-interceptor.service";
|
||||
import {PageURLResolverComponent} from "./openaireLibrary/utils/pageURLResolver.component";
|
||||
|
||||
//import { EnvironmentSpecificService, REQUEST_TOKEN} from './openaireLibrary/utils/properties/environment-specific.service';
|
||||
|
||||
@NgModule({
|
||||
|
||||
imports: [
|
||||
SharedModule,
|
||||
NoopAnimationsModule,
|
||||
CommonModule,
|
||||
HttpClientModule,
|
||||
ErrorModule,
|
||||
|
@ -33,7 +32,8 @@ import {PageURLResolverComponent} from "./openaireLibrary/utils/pageURLResolver.
|
|||
CookieLawModule,
|
||||
BrowserModule.withServerTransition({appId: 'my-app'}),
|
||||
AppRoutingModule,
|
||||
BrowserTransferStateModule
|
||||
BrowserTransferStateModule,
|
||||
BrowserAnimationsModule
|
||||
],
|
||||
declarations: [AppComponent, OpenaireErrorPageComponent, PageURLResolverComponent],
|
||||
exports: [AppComponent],
|
||||
|
@ -52,4 +52,5 @@ import {PageURLResolverComponent} from "./openaireLibrary/utils/pageURLResolver.
|
|||
bootstrap: [AppComponent]
|
||||
})
|
||||
//
|
||||
export class AppModule {}
|
||||
export class AppModule {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue