angular flex layout add code example

Example 1: import angular flex layout

npm install --save @angular/flex-layout @angular/cdk

Example 2: angular flex layout

/* Answer to: "angular flex layout" */

/*
  Angular Flex Layout provides a sophisticated layout API using
  Flexbox CSS + mediaQuery. This module provides Angular developers
  ith component layout features using a custom Layout API,
  mediaQuery observables, and injected DOM flexbox-2016 CSS stylings.
  
  You can download it here: 
  https://www.npmjs.com/package/@angular/flex-layout
  
  It also has a github repository page:
  https://github.com/angular/flex-layout
  
  Don't forget to check out the wiki:
  https://github.com/angular/flex-layout/wiki
*/

Tags:

Misc Example