Direction example
Horizontal
25.0%
75.0%
Vertical
25.0%
75.0%
To control direction you can use the direction
prop. It accepts horizontal
and vertical
values.
html
<SplitWrapper direction="vertical">
...
</SplitWrapper>
More
Check out the official SplitJS website for the full list of examples.