© Mark Clow 2018
Mark ClowAngular 5 Projectshttps://doi.org/10.1007/978-1-4842-3279-8_23

23. More Advanced Topics

Mark Clow1 
(1)
Sandy Springs, Georgia, USA
 

This chapter throws together introductions to several more advanced Angular topics.

View Encapsulation

Remember how you can apply styles to a component using the styles or styleUrls properties of the @Component annotation? The meaning of the word encapsulation is “the action of enclosing something in or as if in a capsule.”

Angular view encapsulation has to do with which method Angular uses to enclose these styles (the ones you applied the styles or styleUrls properties to) with the component.

Why is view encapsulation required? When you use the styles or styleUrls properties to style a component, ...

Get Angular 5 Projects: Learn to Build Single Page Web Applications Using 70+ Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.