googlearchive / core-splitter

A split bar and dragging on it will resize the sibling element
10 stars 12 forks source link

Implement "maxSize" to compliment "minSize" #11

Closed ScottBeeson closed 8 years ago

ScottBeeson commented 9 years ago

I simply duplicated all the code for minSize. The only difference is that the default value for maxSize is -1, as 0 would mean you could never move the splitter.

ScottBeeson commented 9 years ago

This is my first contribution and it's very simplistic, but still I'd be shocked if I didn't do something wrong. Please let me know! :)