Crestron Components Lib - Showcase App

ch5-spinner: size attribute

The size attribute with max value:
The size attribute will set the number of the items in a spinner element.
A spinner element can have at least 1 item and at most 30 items.
<ch5-spinner
		label="item {{idx}}"
		indexId="idx"
		size="40"
		itemHeight="40"
		visibleItemScroll="3">
</ch5-spinner>
The size attribute with an out of range value:
When the size attribute value exceeds the maximum allowed value, the fallback value of the size attribute will be 30.
In the following example, 40 items were added to the size attribute, but only 30 items are shown.
This is because the max limit of items in a spinner element is 30.
<ch5-spinner
		label="item {{idx}}"
		indexId="idx"
		size="40"
		itemHeight="40"
		visibleItemScroll="3">
</ch5-spinner>