ngx-drag-to-select
ngx-drag-to-select copied to clipboard
FR: Scope the selection container to only allow drag select
I would like to use this directive to add drag-selection features, but I have my own custom shortcut+click logic already in place. I'd like either a configuration to only allow drag selecting or an event output parameter that indicates which type of selection action is returning the array of items.
Hey there! Thanks for reaching out. Have you looked at the selectWithShortcut
option? Check this part of the readme. Essentially it will disable click selection and only allows to select items via shortcut. Is that what you need?
Thank you for your response. Unfortunately that option also won't work for us as our custom click logic uses some of the same shortcut keys in different ways.
Can you post a StackBlitz that reproduces the shortcut situation?