daybrush / selecto

Selecto.js is a component that allows you to select elements in the drag area using the mouse or touch.
https://daybrush.com/selecto
MIT License
2k stars 81 forks source link

Condition for select by click #147

Open shrihari-prakash opened 1 year ago

shrihari-prakash commented 1 year ago

Environments

Description

There is an option dragCondition in the selecto component where it is possible to return false if drag is done on a certain element inside the selectable target. Is there a similar option for select by click? On my side, I have a few links inside my selectable target, and when I click on those links, I don't want the element to be selected.