Backbone.Chooser icon indicating copy to clipboard operation
Backbone.Chooser copied to clipboard

Easily track chosen models in collections

Results 12 Backbone.Chooser issues
Sort by recently updated
recently updated
newest added

Doc type actual function is `toggleChoose`

If there is no model in the collection then event 'collection-chose-none' will be triggered. Not 'collection:chose:all' event It is need when last model in the collection has been removed

The value() method needs to be called to get the result of chained operations, otherwise the wrapper will be returned instead and the cycle on the models will never run.

Seems to only work if all the passed models are chosen. As soon as the for loop hits an unchosen model it breaks the loop and the effect is the...

Hey Brian, I'm almost done writing unit tests for this behavior in our implementation, maybe it'd be a better idea if we unit-test the plugin though? Would you be interested...

Right now in SingleChooser when one calls collection.choose(model), the previously selected models are removed from the @chosen array, but the "collection:unchose:one" event is not fired for them. And if the...

- options are always passed to the backbone events, that seems to be a convention - it's useful for passing the context of the place where the event triggering happened

Just fixing a quick typo in the README. Great plugin, thanks!

It would be nice to be able to unchoose chosen model in `SingleChooser`, because right now one has to: ``` JavaScript var maybeModel = collection.getFirstChosen(); if (maybeModel) { collection.unchoose(maybeModel); }...