miket-dev / multiselect

Pure js multiselect implementation
MIT License
38 stars 30 forks source link

How to deselect all? #1

Closed vimv closed 6 years ago

vimv commented 6 years ago

Hi,

I would like to deselect all checkboxes by default programatically.

Since I don't see a deselectAll() method, I'm assuming that selectAll toggles the checkboxes.

This is what I'm doing but it doesn't work: $(selector).multiselect.selectAll();

Is it possible that you can add to the README more info on how to deselect all via code?

Thank you.

miket-dev commented 6 years ago

Check the latest modifications, improved README.md for how to work with multiselect Added deselect and deselectAll methods.