> Samples
> Angular Samples
For most part you can still use Angular 6 (samples) syntax, just update the following pieces in your Angular 8 application.
> Angular Samples
Angular 8 updates
For most part you can still use Angular 6 (samples) syntax, just update the following pieces in your Angular 8 application.
- Renderer2: instead of using RendererV2, now use Renderer2
- @ViewChild('serverContentInput', {static: true}) serverContentInput: ElementRef;
[adding static: true, the same goes for @ContentChild()]
true is important to access the selected element inside ngOnInit - @ContentChild('contentParagraph', {static: true}) paragraph: ElementRef;
true is important to access the selected element inside ngOnInit - Working with reactive forms => Form Array [update for Angular 8]
- Working with reactive forms => Clear all Form Array Items
- A new internal rendering engine IVY. Will drastically shrink bundle size.
- It is not yet ready for production
- Can be enabled to play around with.
- Experimental support for Bazel; orchestrates build process (Webpack, typeScript etc) to optimize overall build flow and speed.
- It is not yet ready for production
- Can be enabled to play around with.
- Differential Loading: CLI automatically creates multiple bundles for modern and legacy browsers. A right bundle will be loaded per the users browser.
- Breaking Changes
- @angular/http is no longer supported. Use instead @angular/common/http instead
- @ViewChild and @ContentChild use static (above)
- f
Samples
Creating Simple ToolTip with Directive and Use of SCSS in the angular project
Download the code from the GitHub and then follow the 001ReadMe.txt file which has the details about :- Project setup
- SCSS setup and simple use
- How to create a directive etc.