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

Commit

Permalink
Merge pull request #19 from jbroquist/master
Browse files Browse the repository at this point in the history
Added size attribute to README
  • Loading branch information
jbro-io committed Jul 14, 2014
2 parents c281bde + 50ba428 commit 5ea4bee
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,32 @@ A fake [flex-direction property](http://www.w3.org/TR/css3-flexbox/#flex-directi

## Child Attributes

### size
Type: `String`

Sets the default placement of the splitbar.

```
pixels
<div ui-layout>
<div size="100px"></div>
</div>
percentage
<div ui-layout>
<div size="10%"></div>
</div>
```

### minSize

Type: `String`
Default: `'8px'`

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

```pixels
```
pixels
<div ui-layout>
<div min-size="100px"></div>
</div>
Expand All @@ -80,7 +98,8 @@ Type: `String`

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

```pixels
```
pixels
<div ui-layout>
<div max-size="100px"></div>
</div>
Expand Down

0 comments on commit 5ea4bee

Please sign in to comment.