rotundasoftware / backbone.collectionView

Easily render backbone.js collections. In addition to managing model views, this class supports automatic selection of models in response to clicks, reordering models via drag and drop, and more.
http://rotundasoftware.github.io/backbone.collectionView/
Other
171 stars 27 forks source link

selectMultiple: allow also Ctrl+Click to toggle selected items #63

Closed fvgoto closed 9 years ago

fvgoto commented 9 years ago

Commonly, Ctrl+Click allows to toggle item selection in selectMultiple environments (at least on Linux/Win). Thus add this ability to backbone.collectionView.

[TODO: add Ctrl+Shift+Click to extend selection by a range. Caveat: we'll have to track last clicked item instead of taking first selected as start-item.]

dgbeck commented 9 years ago

:+1: thx also for keeping spacing consistent!