Flex Layout APIs for any element

The following directives can be applied to any HTML element to show, hide, or change the look and feel of the said elements, such as <div fxShow fxHide.lt-sm></div>, which will show an element unless the screen size is less than small:

HTML API Allowed values
fxHide TRUE | FALSE | 0 | ""
fxShow TRUE | FALSE | 0 | ""
ngClass @extends ngClass core
ngStyle @extends ngStyle core
This section covers the basics for Static Layouts. You can read more about the Static APIs at https://github.com/angular/flex-layout/wiki/Declarative-API-Overview. We'll cover the Responsive API in Chapter 10, Angular App Design and Recipes. You can read more about the Responsive APIs at https://github.com/angular/flex-layout/wiki/Responsive-API ...

Get Angular 6 for Enterprise-Ready Web Applications 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.