backbone.picky icon indicating copy to clipboard operation
backbone.picky copied to clipboard

Automatic invokation of standard event handlers onSelect, onDeselect etc

Open hashchange opened this issue 11 years ago • 0 comments

Event handlers with standard names are run automatically if they exist, just like in Marionette. These standard names are

  • onSelect, onDeselect, onReselect (selectable model, single-select collection)
  • onSelectNone, onSelectSome, onSelectAll, onReselect (multi-select collection)

Based on my previous commits. Tests and documentation are included, as always.

hashchange avatar Jan 22 '14 18:01 hashchange