Detect swipeoutOverswipeEnter type

I have a ListItem with Swipeout (Svelte)

  • Swipe right to check
  • Swipe left to delete

on both sides, overswipe is enabled.

I have a swipeoutOverswipeEnter on ListItem, but I can’t detect if it is delete overswipe or check overswipe. The callback gives me only the ListItem element.

What would be the best solution to detect this?