{"id":13515428,"url":"https://github.com/feliixx/select-multiple-big","last_synced_at":"2025-06-21T20:07:27.509Z","repository":{"id":87788721,"uuid":"93511345","full_name":"feliixx/select-multiple-big","owner":"feliixx","description":"blazing-fast dropdown selector with live search to handle very large datasets ","archived":false,"fork":false,"pushed_at":"2017-06-08T09:52:34.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T06:29:07.665Z","etag":null,"topics":["bootstrap","dropdown","fast","jquery","jquery-plugin","searchbar"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feliixx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-06-06T11:35:07.000Z","updated_at":"2020-10-05T01:27:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"a10b3185-1173-4786-87ae-b84203c94707","html_url":"https://github.com/feliixx/select-multiple-big","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/feliixx/select-multiple-big","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feliixx%2Fselect-multiple-big","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feliixx%2Fselect-multiple-big/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feliixx%2Fselect-multiple-big/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feliixx%2Fselect-multiple-big/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feliixx","download_url":"https://codeload.github.com/feliixx/select-multiple-big/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feliixx%2Fselect-multiple-big/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261186777,"owners_count":23121944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","dropdown","fast","jquery","jquery-plugin","searchbar"],"created_at":"2024-08-01T05:01:11.189Z","updated_at":"2025-06-21T20:07:22.487Z","avatar_url":"https://github.com/feliixx.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# select-multiple-big\n\na small JS plugin build on top of JQuery and bootstrap to create a dropdown selector with live search that can handle very large number of items with 0 display latency. \n\na live demo is available here ( with 100 000 items) : [live demo](https://codepen.io/adrienpetel/full/ZOorkZ/)\n\n# How to use the plugin\n\nfirst, add bootstrap and JQuery js and css : \n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\"\u003e\n...\n\u003cscript src=\"https://code.jquery.com/jquery-2.2.4.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js\"\u003e\u003c/script\u003e\n```\n\nthen add an HTML **div** element somewhere in the DOM like this : \n\n```html\n\u003cdiv id=\"select\"\u003e\u003c/div\u003e\n``` \nfinally, instantiate the dropdown with some js code : \n\n```javascript\n$('#select').selectmultiple({\n  text: 'items',                          // title when no items selected \n  data: [ \"item1\", \"item2\", \"item3\" ],    // an array of string containing the list of item to display in the dropdown\n  width: 200,                             // the dropdown width\n  placeholder: 'items'                    // text-search placeholder \n});\n```\n\nwhen the user select some items, a custom event is fired : `multiple_select_change` \nyou can catch it by adding a listener like this : \n\n```javascript\n$('#select').on('multiple_select_change', function() {\n  // do some stuff \n});\n```\n\n# Custom methods\n\nget the number of selected items: \n```javascript\nvar count = $('#select').selectmultiple('count')\n// count = 3\n```\nget the selected items: \n```javascript\nvar values =  $('#select').selectmultiple('value')\n// values = [ \"item1\", \"item11\", \"item111\" ]\n```\n\nget all availables item in the dropdown: \n```javascript\nvar options = $('#select').selectmultiple('option')\n// options = [ \"item1\", \"item2\", \"item3\", ... ]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeliixx%2Fselect-multiple-big","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeliixx%2Fselect-multiple-big","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeliixx%2Fselect-multiple-big/lists"}