From 8089bfe87d6b5fa2eb8be818ea0a40f3fbd2901d Mon Sep 17 00:00:00 2001 From: mdonev Date: Thu, 14 Dec 2017 19:13:30 +0200 Subject: [PATCH] docs(flexbox layout) add flexbox layout code snippets --- tests/app/snippets/layouts.component.html | 137 +++++++++++++++------- tests/app/snippets/layouts.component.ts | 3 +- 2 files changed, 99 insertions(+), 41 deletions(-) diff --git a/tests/app/snippets/layouts.component.html b/tests/app/snippets/layouts.component.html index c472f02bd..3cc2fbdb3 100644 --- a/tests/app/snippets/layouts.component.html +++ b/tests/app/snippets/layouts.component.html @@ -1,8 +1,8 @@ - - + + @@ -11,16 +11,16 @@ - + - + - - + + @@ -28,7 +28,7 @@ - + @@ -37,7 +37,7 @@ - + @@ -46,11 +46,11 @@ - + - - - + + + @@ -60,43 +60,43 @@ - - - + + + - - - + + + - - + + - + - + - + - - + + @@ -104,9 +104,9 @@ - + - + @@ -115,17 +115,17 @@ - + - + - - + + @@ -133,19 +133,19 @@ - + - + - + - + - - + + @@ -153,7 +153,7 @@ - + @@ -162,7 +162,7 @@ - + @@ -171,5 +171,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + \ No newline at end of file diff --git a/tests/app/snippets/layouts.component.ts b/tests/app/snippets/layouts.component.ts index 5912f1a27..5892c0492 100644 --- a/tests/app/snippets/layouts.component.ts +++ b/tests/app/snippets/layouts.component.ts @@ -10,7 +10,8 @@ import {Component} from "@angular/core"; "#main > DockLayout { margin: 10 }", "#main > GridLayout { margin: 10 }", "#main > StackLayout { margin: 10 }", - "#main > WrapLayout { margin: 10 }" + "#main > WrapLayout { margin: 10 }", + "#main > FlexboxLayout { margin: 10 }" ] }) export class LayoutsComponent {