Hello friends, This is my tutorial on Angular. In this tutorial ,you will learn about Angular router transition animation. Follow these steps to create animation in angular. First You need to enable the animations module by importing BrowserAnimationsModule . Write below code in your app.module.ts file import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; Next you need to create animation.ts file and write below code . import { animate, query, style, transition, trigger, group, } from '@angular/animations'; export function routerAnimation() { return trigger('routerAnimation', [ // One time initial load. Move page from left -100% to 0% transition('-1 => *', [ query(':enter', [ style({ position: 'fixed', ...
Hello friends, This is my third tutorial on Angular 7. In this Angular 7 tutorial ,you will learn about Angular 7 App Files Explanation. Angular 7 App Files Explanation See the structure of the Angular 7 app on Visual Studio Code IDE (how it looks on IDE). For Angular 7 development, you can use either Visual Studio Code IDE or WebStorm IDE. Both are good. Here, we are using Visual Studio Code IDE . Files used in Angular 7 app folder Angular 7 App files which are mainly used in your project are given below: src folder : This is the folder which contains the main code files related to your angular application. app folder: The app folder contains the files, you have created for app components. app.component.css: This file contains the cascading style sheets code for your app component. app.component.html: This file contains the html file related to app component. This is the template file which is used by angular to do...