Configuring the selectable component
The selectable
class is quite compact, with relatively few configurable options compared to some of the other components that we've looked at.
The following options are available for configuration:
Option |
Default value |
Used to... |
---|---|---|
|
|
Automatically refresh the size and position of each selectable at the start of a select interaction. |
|
|
Prevent the specified elements from being selected with a click. The default string contains the |
|
|
Set the delay in milliseconds before the element is selected. The mouse button must be held down on the element before the selection will begin. |
|
|
Disable selection when the page initially loads. |
|
|
Set the distance the mouse pointer must travel, with the mouse... |