{"id":21094091,"url":"https://github.com/archakov06/jquery-easysearch","last_synced_at":"2025-05-16T14:32:47.071Z","repository":{"id":58238367,"uuid":"55923014","full_name":"Archakov06/jQuery-easySearch","owner":"Archakov06","description":"jQuery plugin for filtering elements","archived":false,"fork":false,"pushed_at":"2016-08-21T10:18:42.000Z","size":12,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-08T13:16:31.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Archakov06.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-10T21:18:04.000Z","updated_at":"2023-09-11T15:40:45.000Z","dependencies_parsed_at":"2022-08-31T00:30:50.756Z","dependency_job_id":null,"html_url":"https://github.com/Archakov06/jQuery-easySearch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archakov06%2FjQuery-easySearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archakov06%2FjQuery-easySearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archakov06%2FjQuery-easySearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archakov06%2FjQuery-easySearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Archakov06","download_url":"https://codeload.github.com/Archakov06/jQuery-easySearch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225433466,"owners_count":17473599,"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":[],"created_at":"2024-11-19T22:16:15.082Z","updated_at":"2024-11-19T22:16:16.083Z","avatar_url":"https://github.com/Archakov06.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery-easySearch\n\nA jQuery plug-in for filtering elements with user input.\n\n![Example work](http://archakov.im/uploads/search-in-list_480db9c7.gif)\n\n## Usage\n\n#### Example #1: UL\n```js\n\t$('input').jSearch({ \n\t    selector  : 'ul',\n\t    child : 'li div.header',\n\t    minValLength: 0,\n\t    Found : function(elem){\n\t        $(elem).parent().parent().show();\n\t    },\n\t    NotFound : function(elem){\n\t        $(elem).parent().parent().hide();\n\t    },\n\t    After : function(t){\n\t        if (!t.val().length) $('ul li').show();\n\t    }\n\t});\n```\n\n#### Example #2: Table\n```js\n\t$('input').jSearch({ \n\t    selector  : 'table',\n\t    child : 'tr \u003e td',\n\t    minValLength: 0,\n\t    Before: function(){\n\t    \t$('table tr').data('find','');\n\t    },\n\t    Found : function(elem){\n\t    \t$(elem).parent().data('find','true');\n\t        $(elem).parent().show();\n\t    },\n\t    NotFound : function(elem){\n\t    \tif (!$(elem).parent().data('find'))\n\t        $(elem).parent().hide();\n\t    },\n\t    After : function(t){\n\t        if (!t.val().length) $('table tr').show();\n\t    }\n\t});\n```\n\n## Options\n\n* \t**selector**\n\tThe selector that will occur search for child elements\n* \t**child**\n\tThe child element that will be searched\n* \t**minValLength**\n\tThe minimum number of characters to search\n* \t**onFound**\n\tThe function is called if there is a match\n* \t**onNotFound**\n\tThe function is called if there is no match\n*\t**onBefore**\n\tFunction to call before trigger is called\n*\t**onAfter**\n\tFunction to call after trigger is called\n\t\n\n## Contacts\n* \t**E-Mail**\n\t\u003carchakov@gatafan.com\u003e\n* \t**Website**\n\t\u003chttp://archakov.im\u003e\n\n## License\n\nNow licensed under the MIT License: \u003chttp://deuxhuithuit.mit-license.org\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchakov06%2Fjquery-easysearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchakov06%2Fjquery-easysearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchakov06%2Fjquery-easysearch/lists"}