A
A
Alexander Dmitriev2018-05-02 19:12:53
JavaScript
Alexander Dmitriev, 2018-05-02 19:12:53

Selecting checkboxes by holding the mouse like in Yandex Mail?

I want to implement a selection of checkboxes, which are located in a list, by holding down the mouse button (as in Windows, selecting files). I came across selectable from jquery, but I would like something more practical and simple

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2018-05-02
@s_asha1998dmit

Clamp .
UPD. Taken from the comments:

Is there a way to remove checkboxes in the same way, if doing by analogy is clumsy?
here is an analogy and that's why clumsily
Well, there are different options here ...
You can set the checkbox on the left button, shoot on the right, like so .
You can invert the state of a checkbox on a mouseover event, like so .
You can set checkboxes by holding down the mouse button, and remove them by holding down the mouse button + holding down the ctrl key, like so .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question