What Is an Animation? Animation is the process of making an important design feature of modern web applications and using animations, we are well design UI interface as per our needed. In Angular, we are using pure CSS to create animations stuff with good performance. Stayed Informed – Angular 4 Q/A and Angular 2 Q/A Installing Angular Animations - > npm install @ angular / animations @ latest -- save Import browser Animations in the NgModule - import { BrowserAnimationsModule } from '@angular/platform-browser/animations' ; Before you can add animations, you need to import a few animation-specific imports and functions - import { NgModule } from '@angular/core' ; import { BrowserModule } from '@angular/platform-browser' ; import { BrowserAnimationsModule } from '@angular/platform-browser/animations' ; Add BrowserAnimationsModule in the imports array @NgModule decorator - @ NgModule({ imports : [...
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers