OneQlik/src
2023-01-09 21:13:37 +05:30
..
app Replace single get Google address API to Bulk get address API and Create Local cache for address 2023-01-09 21:13:37 +05:30
assets multiple bugfixes from 20 Apr 2020 to 7 jan 2023 2023-01-07 17:30:21 +00:00
dist latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
e latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
environments multiple bugfixes from 20 Apr 2020 to 7 jan 2023 2023-01-07 17:30:21 +00:00
fonts latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
tools latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
bootstrap.css latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
faviconn.ico latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
fSelect.css latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
fSelect.js latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
index.html multiple bugfixes from 20 Apr 2020 to 7 jan 2023 2023-01-07 17:30:21 +00:00
main.ts latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
markerclusterer.js latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
multiple-select-master.zip latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
polyfills.ts latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
README.md latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
styles.css multiple bugfixes from 20 Apr 2020 to 7 jan 2023 2023-01-07 17:30:21 +00:00
test.html latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
test.ts latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
tsconfig.app.json latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
tsconfig.spec.json latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00
typings.d.ts latest updates @APR 20, 2022 2023-01-07 17:28:53 +00:00

fSelect

A jQuery select box replacement library (live demo)

Usage

$('.your-select').fSelect();

Available options

$('.your-select').fSelect({
    placeholder: 'Select some options',
    numDisplayed: 3,
    overflowText: '{n} selected',
    noResultsText: 'No results found',
    searchText: 'Search',
    showSearch: true
});
  • placeholder (str) - the default placeholder text
  • numDisplayed (int) - the number of values to show before switching to the overflowText
  • overflowText (str) - the text to show after exceeding the numDisplayed limit
  • 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?

Methods

$('.your-select').fSelect('reload');
$('.your-select').fSelect('destroy');

Single vs. multi-select

Add the multiple attribute to your <select> to enable multi-select:

<select class="your-select-box" multiple="multiple">