From f8beec3ec87d6124d1de27f13e031324198091ae Mon Sep 17 00:00:00 2001 From: L3Home <50602111+L3Home@users.noreply.github.com> Date: Mon, 13 May 2019 17:49:11 -0700 Subject: [PATCH] Update README.md Updated to show options for showSelectAll and multiSelect. --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 91bc915..77fabb9 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,9 @@ $('.your-select').fSelect({ overflowText: '{n} selected', noResultsText: 'No results found', searchText: 'Search', - showSearch: true + showSearch: true, + showSelectAll: true, + multiSelect: false }); ``` @@ -28,6 +30,8 @@ $('.your-select').fSelect({ * **noResultsText** (str) - the text to show if no choices exist (or an empty string) * **searchText** (str) - the search box placeholder text * **showSearch** (bool) - show the search box? +* **showSelectAll** (bool) - show select-all option? (only with multiSelect) +* **multiSelect** (bool) - initialize with multi-select enabled (works the same as select attribute) ### Methods @@ -38,7 +42,7 @@ $('.your-select').fSelect('destroy'); ### Single vs. multi-select -Add the `multiple` attribute to your `` to enable multi-select (optional; can set in fSelect options OR in select tag): ```html