You can pass the id when toggle the menu
<Button @click="toggleListOptions($event, item._id,)" icon="pi pi-ellipsis-v" size="small" />
Then got the id
function toggleListOptions(event: Event, id: string) {
console.log("🚀 ~ toggleListOptions ~ id:", id)
menuListOptions.value.toggle(event)
}