UNPKG

ngx-flexible-layout

Version:

The Angular team has decided to depricate the @angular/flex-layout library after v15. It seems that this is going to cause issues for some people. In order to try and alleviate these problems, this clone repo/lib was created.

20 lines (17 loc) 633 B
The `flex` entrypoint contains all of the flexbox APIs provided by the Layout library. This includes directives for flexbox containers like `fxLayout` (a.k.a. `FlexLayoutDirective`) and children like `fxFlex` (a.k.a. `FlexDirective`). The main export from this entrypoint is the `FlexModule` that encapsulates these directives, and can be imported separately to take advantage of tree shaking. ```typescript import {NgModule} from '@angular/core'; import {FlexModule} from '@angular/flex-layout/flex'; @NgModule(({ imports: [ ... other imports here FlexModule, ] })) export class AppModule {} ```