How do you set the maximum length of a list with LWC? I understand in Angular you could use "ng-maxLength".
<template iterator:item={records}>
<!-- List up to ten records -->
<c-item-card key={item.value.Id} item={item.value}></c-item-card>
</template>
There's also item.index but that still isn't helpful if I cannot pass the index into a handler/expression. Any ideas?