Skip to content

Commit

Permalink
update(docs): add flex="nogrow" example and description
Browse files Browse the repository at this point in the history
Related to angular#6205.
  • Loading branch information
Splaktar committed Dec 15, 2015
1 parent fb53c27 commit 53775c5
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions docs/app/partials/layout-children.tmpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,26 +99,29 @@ <h3>Additional Flex Values</h3>
<docs-demo demo-title="Other Flex Values" class="small-demo colorNested-noPad">
<demo-file name="index.html">
<div layout="row" layout-wrap>
<div flex="0">
[flex="0"]
</div>
<div flex="none">
[flex="none"]
</div>
<div flex>
[flex]
</div>
<div flex="nogrow">
[flex="nogrow"]
</div>
<div flex="grow">
[flex="grow"]
</div>
<div flex="auto">
[flex="auto"]
<div flex="initial">
[flex="initial"]
</div>
<div flex="auto">
[flex="auto"]
</div>
<div flex="initial">
[flex="initial"]
<div flex="noshrink">
[flex="noshrink"]
</div>
<div flex="0">
[flex="0"]
</div>
</div>
</demo-file>
Expand Down Expand Up @@ -146,6 +149,10 @@ <h3>Additional Flex Values</h3>
<td>flex="grow"</td>
<td>Will grow and shrink as needed. Starts with a size of 100%. Same as <code>flex="100"</code>.</td>
</tr>
<tr>
<td>flex="nogrow"</td>
<td>Will shrink as needed, but won't grow. Starts with a size based on it's <code>width</code> and <code>height</code> values.</td>
</tr>
<tr>
<td>flex="noshrink"</td>
<td>Will grow as needed, but won't shrink. Starts with a size based on it's <code>width</code> and <code>height</code> values.</td>
Expand Down

0 comments on commit 53775c5

Please sign in to comment.