WPanelDivideVertical

Description:

Props

Name Type Default value Required? Description
ratio Number 0.5 No 輸入分隔條位置比例數字,範圍為0~1,預設0.5
ratioMin Number 0 No 輸入分隔條位置最小比例數字,範圍為0~1,需小於ratioMax,若ratioMin大於ratioMax則由ratioMin主導,預設0
ratioMax Number 1 No 輸入分隔條位置最大比例數字,範圍為0~1,需大於ratioMin,若ratioMin大於ratioMax則由ratioMin主導,預設1
topHeightMin Number null No 輸入左側區最小寬度數字,處理優先權大於ratioMin與ratioMax,預設null
topHeightMax Number null No 輸入左側區最大寬度數字,處理優先權大於ratioMin與ratioMax,預設null
bottomHeightMin Number null No 輸入右側區最小寬度數字,處理優先權大於ratioMin、ratioMax、topHeightMin與topHeightMax,預設null
bottomHeightMax Number null No 輸入右側區最大寬度數字,處理優先權大於ratioMin、ratioMax、topHeightMin與topHeightMax,預設null
barColor String '#ddd' No 輸入分隔條顏色字串,預設'#ddd'
barBorderColor String 'transparent' No 輸入分隔條框線顏色字串,預設'transparent'
barSize Number 2 No 輸入分隔條尺寸數字,為分隔條高度,單位為px,預設2
barBorderSize Number 3 No 輸入分隔條框線寬度數字,單位為px,預設3,通常配合barBorderColor='transparent'使可拖曳區加大又不遮蔽可視區

Props

Name Type Default value Required? Description
ratio Number 0.5 No 輸入分隔條位置比例數字,範圍為0~1,預設0.5
ratioMin Number 0 No 輸入分隔條位置最小比例數字,範圍為0~1,需小於ratioMax,若ratioMin大於ratioMax則由ratioMin主導,預設0
ratioMax Number 1 No 輸入分隔條位置最大比例數字,範圍為0~1,需大於ratioMin,若ratioMin大於ratioMax則由ratioMin主導,預設1
topHeightMin Number null No 輸入左側區最小寬度數字,處理優先權大於ratioMin與ratioMax,預設null
topHeightMax Number null No 輸入左側區最大寬度數字,處理優先權大於ratioMin與ratioMax,預設null
bottomHeightMin Number null No 輸入右側區最小寬度數字,處理優先權大於ratioMin、ratioMax、topHeightMin與topHeightMax,預設null
bottomHeightMax Number null No 輸入右側區最大寬度數字,處理優先權大於ratioMin、ratioMax、topHeightMin與topHeightMax,預設null
barColor String '#ddd' No 輸入分隔條顏色字串,預設'#ddd'
barBorderColor String 'transparent' No 輸入分隔條框線顏色字串,預設'transparent'
barSize Number 2 No 輸入分隔條尺寸數字,為分隔條高度,單位為px,預設2
barBorderSize Number 3 No 輸入分隔條框線寬度數字,單位為px,預設3,通常配合barBorderColor='transparent'使可拖曳區加大又不遮蔽可視區