This repository was archived by the owner on Jan 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 768
/
Copy pathDemosLayoutAPI.ts
52 lines (47 loc) · 1.83 KB
/
DemosLayoutAPI.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import {Component} from '@angular/core';
@Component({
selector: 'demos-docs-layout',
template: `
<demo-layout-alignment class="small-demo"> </demo-layout-alignment>
<demo-layout-fill class="small-demo"> </demo-layout-fill>
<demo-flex-row-fill class="small-demo"> </demo-flex-row-fill>
<demo-flex-align-self class="small-demo"> </demo-flex-align-self>
<demo-flex-row-fill-wrap class="small-demo"> </demo-flex-row-fill-wrap>
<demo-flex-attribute-values class="small-demo"> </demo-flex-attribute-values>
<demo-flex-offset-values class="small-demo"> </demo-flex-offset-values>
`
})
export class DemosLayoutAPI {
}
import {NgModule} from '@angular/core';
import {CommonModule} from "@angular/common";
import {FormsModule} from "@angular/forms";
import {MaterialModule} from "@angular/material";
import {FlexLayoutModule} from "../../../lib"; // `gulp build:components` to deploy to node_modules manually
import {DemoLayoutAlignment} from "./layoutAlignment.demo";
import {DemoFlexRowFill} from "./flexRowFill.demo";
import {DemoFlexRowFillWrap} from "./flexRowFillWrap.demo";
import {DemoFlexAttributeValues} from "./flexOtherValues.demo";
import {DemoFlexOffsetValues} from "./flexOffetValues.demo";
import {DemoLayoutFill} from "./layoutFill.demo";
import {DemoFlexAlignSelf} from "./FlexAlignSelf.demo";
@NgModule({
declarations: [
DemosLayoutAPI, // used by the Router with the root app component
DemoFlexRowFill,
DemoFlexRowFillWrap,
DemoLayoutAlignment,
DemoFlexAttributeValues,
DemoFlexOffsetValues,
DemoLayoutFill,
DemoFlexAlignSelf
],
imports: [
CommonModule,
FormsModule,
MaterialModule,
FlexLayoutModule
]
})
export class DemosLayoutAPIModule {
}