Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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