0.3.4 • Published 2 years ago

mofron-comp-split v0.3.4

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

mofron-comp-split

mofron is module based frontend framework.

split component for mofron

this component splits screen to two.

exp. one is for menu or navigate and the other is for main contents.

Feature

  • default ratio is 20:80
  • vertical split the screen into two
  • the user can change the division ratio by dragging

Attention

  • supported size is 'px' or 'rem'

Install

npm install mofron  mofron-comp-split

Sample

<setting>
    <tag load="mofron-comp-split">Split</tag>
</setting>

<Split ratio=(30,70)>
    <div color2="#faf5f5"></div>
    <div color2="#e6e6fa"></div>
</Split>

Parameter

ShortFormParameter NameTypeDescription
leftmixedcomponent: contents
array: component lists
distleft config
rightmixedcomponent: contents
array: component lists
distright config
bordercomponentborder component
rationumberleft side split ratio default is 20
numberright side split ratio default is 80
draggablebooleantrue: user is allowed change split ratio by dragging the border.
false: user can not change split ratio.
0.3.4

2 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago