Is there any way to get the current index of iteration on array of objects.
<template for:each={prWrap.listOccu} for:item="occu" for:index="occIndex">
</template>
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityIs there any way to get the current index of iteration on array of objects.
<template for:each={prWrap.listOccu} for:item="occu" for:index="occIndex">
</template>
occIndex
is? – sfdcfox Sep 18 '20 at 13:50