selecto
selecto copied to clipboard
Selecting elements on mouseover
Environments
- Framework name: Ember.js
- Framework version: 3.22
- Component name: Selecto
- Component version: 1.13
- Testable Address(optional):
Description
I would like to know if there is a way to select elements as you mouseover them, rather than only selecting elements that are contained within the drag selection. There is a selectFromInside option, but that only selects the initial element that you start the drag on, and other elements are only selected if they are completely inside the drag container. I was thinking that perhaps I could create a custom getElementRect function that does what I need, but I wanted to know if there's a simpler way of doing it.
Screen cap is of Google Calendar, this is similar to the behavior I would like. Thanks for your time.

@bagby
Use selectByClick option to true.
@bagby
Use
selectByClickoption to true.
I'd like to have similar functionality as the OP and setting the 'selectByClick' to true only lets me start the selection process by clicking in an actual selection target. What I expected is that there be a way to have targets selected if the rectangle touches them or fully encompasses them. And on the flip side, they're deselected if the selection rectangle does not touch them at all.
Do you have a solution to this scenario?
@msueping
can i know which option you use?
try it like this.
toggleContinueSelect: "shift",
selectByClick: true,
selectFromInside: false,