Container to bound the selection area. If false, do not bound. If true, it is the container of selecto.
false
hecks whether this is an element to input text or contentEditable, and prevents dragging.
false
Inspect the overflow area and exclude the outside target from the select.
false
custom class name of selecto element
""
Whether to click when mouse(touch) ends while using selectByClick(true)
false
The container to add a selection element for vanilla
After the select, whether to select the next target with the selected target (deselected if the target is selected again)
false
Whether to continue the previously selected items without deselect when using continueSelect
or toggleContinueSelect
.
false
add nonce property to style for CSP
""
Conditional function to start dragging
null
The area to drag selection element.
container
A function to get the exact position of an element's rect
null
The rate at which the target overlaps the drag area to be selected. If you want an absolute number, set it to a px value. (ex: 10px)
100
Set the inner scroll options, time, etc. to automatically scroll by dragging.
null
The container for keydown and keyup events.
Private
portalSelection Element to apply for framework.
Optional
preventPrevent click event according to specific conditions. Returning true allows the click event, returning false prevents it.
null
Optional
preventPrevent click event on drag. (mousemove, touchmove)
false
Optional
preventPrevent click event on dragStart. (mousedown, touchstart)
false
When dragging, preventDefault is called. (Touch occurs unconditionally)
false
When the target is clicked, the event is stopped and selected. (If hitTest is 0, it becomes click as well.)
true
Optional
preventWhether to prevent dragging of the right mouse button
true
Adjust the ratio of the selection.
0
Selecto's root container (No transformed container.)
null
Set the scroll options, time, etc. to automatically scroll by dragging.
null
Whether to force drag end when selectFromInside, selectByClick is true.
false
Whether to select from the target inside (If hitTest is 0, it becomes inside select as well)
true
Targets to select. You can register a queryselector or an Element.
[]
Determines which key to continue selecting the next target via keydown and keyup.
The initially set continueSelect
value is the inactive(keyup) value.
Determines which key to continue selecting the next target without deselect via keydown and keyup.
The initially set continueSelectWithoutDeselect
value is the inactive(keyup) value.
extended options for Selecto with additional select-specific properties