Topic: [Pro User] Deprecated Angular APIs
Vitor Pavanelli asked 7 years ago
Damian Gemza staff answered 7 years ago
Vitor Pavanelli commented 7 years ago
Hi Damian, I found this when looking for something else: If you rely on Animations, import the new BrowserAnimationsModule from @angular/platform-browser/animations in your root NgModule. Without this, your code will compile and run, but animations will trigger an error. Imports from @angular/core were deprecated, use imports from the new package import { trigger, state, style, transition, animate } from '@angular/animations';. Hope it helps. Thank you, VitorClosed
This topic is closed.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Closed
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No