selecto icon indicating copy to clipboard operation
selecto copied to clipboard

onSelectend I need to know whether it's triggered by a click or a drag

Open linxianxi opened this issue 3 years ago • 1 comments

@daybrush Can you add a parameter? like 1、event: "drag" or "click" or 2、isClick: true or false

I'm using React-selecto

linxianxi avatar Jun 25 '21 07:06 linxianxi

  • selecto 1.13.0
  • react-selecto 1.13.0
  • preact-selecto 1.13.0
  • ngx-selecto 1.13.0
  • svelte-selecto 1.13.0
  • lit-selecto 1.13.0 @linxianxi

Add isClick property on dragEnd, selectEnd.

daybrush avatar Sep 11 '21 06:09 daybrush