Clicking this button will increment the signal for the first list by 5
Clicking this button will increment the signal for the second list by 10
Clicking this button will increment the signal for the third list by 15
<p>
Clicking this button will increment the signal for the first list by 5
<ch5-button label="Btn1" sendEventOnClick="trigH1"></ch5-button>
</p>
<p>
Clicking this button will increment the signal for the second list by 10
<ch5-button label="Btn1" sendEventOnClick="trigH2"></ch5-button>
</p>
<p>
Clicking this button will increment the signal for the third list by 15
<ch5-button label="Btn1" sendEventOnClick="trigH3"></ch5-button>
</p>
<ch5-list size="100"
orientation="horizontal"
minWidth="250px"
maxWidth="500px"
minHeight="100px"
maxHeight="150px"
indexId="idx"
itemWidth="125px"
itemHeight="75px"
scrollbar="true"
receiveStateScrollTo="sigH1">
<template>
<div class="horizontal-list-item">
<span>item_{{idx}}</span>
</div>
</template>
</ch5-list>
<hr>
<ch5-list size="100"
orientation="horizontal"
minWidth="250px"
maxWidth="500px"
minHeight="100px"
maxHeight="150px"
indexId="idx"
itemWidth="125px"
itemHeight="75px"
scrollbar="true"
receiveStateScrollTo="sigH2"
scrollToTime="700">
<template>
<div class="horizontal-list-item">
<span>item_{{idx}}</span>
</div>
</template>
</ch5-list>
<hr>
<ch5-list size="500"
orientation="horizontal"
indexId="idx"
minWidth="250px"
maxWidth="500px"
minHeight="100px"
maxHeight="150px"
itemWidth="125px"
itemHeight="75px"
scrollbar="true"
receiveStateScrollTo="sigH3"
scrollToTime="1000">
<template>
<div class="horizontal-list-item">
<span>item_{{idx}}</span>
</div>
</template>
</ch5-list>
.horizontal-list-item {
border: 1px solid transparent;
color: #155724;
background-color: #d4edda;
border-color: #c3e6cb;
display: table;
width: 100%;
height: 100%;
}
.horizontal-list-item span {
display: table-cell;
vertical-align: middle;
text-align: center;
}
Clicking this button will increment the signal for the first list by 5
Clicking this button will increment the signal for the second list by 10
Clicking this button will increment the signal for the third list by 15
<p>
Clicking this button will increment the signal for the first list by 5
<ch5-button label="Btn1" sendEventOnClick="trigV1"></ch5-button>
</p>
<p>
Clicking this button will increment the signal for the second list by 10
<ch5-button label="Btn1" sendEventOnClick="trigV2"></ch5-button>
</p>
<p>
Clicking this button will increment the signal for the third list by 15
<ch5-button label="Btn1" sendEventOnClick="trigV3"></ch5-button>
</p>
<div class="columns">
<div class="column">
<ch5-list size="100"
orientation="vertical"
indexId="idx"
minWidth="150px"
maxWidth="165px"
minHeight="100px"
maxHeight="150px"
itemWidth="150px"
itemHeight="75px"
scrollbar="true"
receiveStateScrollTo="sigV1">
<template>
<div class="vertical-list-item">
<span>item_{{idx}}</span>
</div>
</template>
</ch5-list>
</div>
<div class="column">
<ch5-list size="300"
orientation="vertical"
indexId="idx"
minWidth="150px"
maxWidth="165px"
minHeight="100px"
maxHeight="150px"
itemWidth="150px"
itemHeight="75px"
scrollbar="true"
receiveStateScrollTo="sigV2"
scrollToTime="700">
<template>
<div class="vertical-list-item">
<span>item_{{idx}}</span>
</div>
</template>
</ch5-list>
</div>
<div class="column">
<ch5-list size="500"
orientation="vertical"
indexId="idx"
minWidth="150px"
maxWidth="165px"
minHeight="100px"
maxHeight="150px"
itemWidth="150px"
itemHeight="75px"
scrollbar="true"
receiveStateScrollTo="sigV3"
scrollToTime="1000">
<template>
<div class="vertical-list-item">
<span>item_{{idx}}</span>
</div>
</template>
</ch5-list>
</div>
</div>
.vertical-list-item {
border: 1px solid transparent;
color: #155724;
background-color: #d4edda;
border-color: #c3e6cb;
display: table;
width: 100%;
height: 100%;
}
.vertical-list-item span {
display: table-cell;
vertical-align: middle;
text-align: center;
}