UNPKG

611 BMarkdownView Raw
1The `grid` entrypoint contains all of the CSS Grid APIs provided by the
2Layout library. This includes directives for flexbox containers like
3`gdArea` (a.k.a. `GridAreaDirective`) and children like `gdRow`
4(a.k.a. `GdRowDirective`). The main export from this entrypoint is the
5`GridModule` that encapsulates these directives, and can be
6imported separately to take advantage of tree shaking.
7
8```typescript
9import {NgModule} from '@angular/core';
10import {GridModule} from '@angular/flex-layout/grid';
11
12@NgModule(({
13 imports: [
14 ... other imports here
15 GridModule,
16 ]
17}))
18export class AppModule {}
19```