Angular Flex Layout provides a sophisticated layout API using FlexBox CSS + mediaQuery. This module provides Angular (v4.x and higher) developers with component layout features using a custom Layout API, mediaQuery observables,and DOM flexbox-2016 css.
The Layout engine intelligently automates the process of applying appropriate FlexBox CSS to browser view hierarchies. This automation also addresses many of the complexities and workarounds encountered with the traditional, manual, CSS-only application of Flexbox CSS.
The real power of Flex Layout, however, is its responsive engine.
The Responsive API enables developers to easily specify different layouts, sizing, visibilities for different viewport sizes and display devices.
Beta.9 provides support for Angular 4.x, AOT, Universal builds. This also means that Beta.9 (or higher) will not support Angular 2.x.
Please consult our CHANGELOG for latest changes and new features.
While other Flexbox CSS libraries are implementations of:
Angular Flex Layout - in contrast - is a pure-Typescript UI Layout engine with an implementation that:
Playing with the nightly changes in master is also possible
npm install https://github.com/angular/flex-layout-builds.git
Or you can easily install the latest release from NPM using:
npm install @angular/flex-layout@latest --save
The sources for this package are in the Flex-Layout repository.
Please file issues and pull requests against that repo.