Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 5ea4bee

Browse files
committed
Merge pull request #19 from jbroquist/master
Added size attribute to README
2 parents c281bde + 50ba428 commit 5ea4bee

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,32 @@ A fake [flex-direction property](http://www.w3.org/TR/css3-flexbox/#flex-directi
5656

5757
## Child Attributes
5858

59+
### size
60+
Type: `String`
61+
62+
Sets the default placement of the splitbar.
63+
64+
```
65+
pixels
66+
<div ui-layout>
67+
<div size="100px"></div>
68+
</div>
69+
70+
percentage
71+
<div ui-layout>
72+
<div size="10%"></div>
73+
</div>
74+
```
75+
5976
### minSize
6077

6178
Type: `String`
6279
Default: `'8px'`
6380

6481
Specifices the minimum size the child element can be set to. Defaults to the width of the `splitbar` if no value is provided.
6582

66-
```pixels
83+
```
84+
pixels
6785
<div ui-layout>
6886
<div min-size="100px"></div>
6987
</div>
@@ -80,7 +98,8 @@ Type: `String`
8098

8199
Specifices the maxium size the child element can be set to.
82100

83-
```pixels
101+
```
102+
pixels
84103
<div ui-layout>
85104
<div max-size="100px"></div>
86105
</div>

0 commit comments

Comments
 (0)