{"id":13749155,"url":"https://github.com/caffeinalab/ti.searchbar","last_synced_at":"2025-12-25T07:52:48.798Z","repository":{"id":153210670,"uuid":"64206458","full_name":"caffeinalab/ti.searchbar","owner":"caffeinalab","description":"Titanium Widget to display a search bar.","archived":false,"fork":false,"pushed_at":"2017-03-02T11:31:28.000Z","size":14,"stargazers_count":36,"open_issues_count":1,"forks_count":4,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-08-03T07:02:59.309Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caffeinalab.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-07-26T09:01:06.000Z","updated_at":"2020-03-02T15:12:57.000Z","dependencies_parsed_at":"2024-01-17T13:12:18.346Z","dependency_job_id":"91b55bfe-0567-4d84-abc9-354709b76333","html_url":"https://github.com/caffeinalab/ti.searchbar","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caffeinalab%2Fti.searchbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caffeinalab%2Fti.searchbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caffeinalab%2Fti.searchbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caffeinalab%2Fti.searchbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caffeinalab","download_url":"https://codeload.github.com/caffeinalab/ti.searchbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224859694,"owners_count":17381676,"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-08-03T07:00:56.197Z","updated_at":"2025-12-25T07:52:48.741Z","avatar_url":"https://github.com/caffeinalab.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Ti.Searchbar\n\n### com.caffeina.titanium.searchbar\n\nTitanium Widget to display a search bar.\n\n![image](https://s3.amazonaws.com/f.cl.ly/items/193d1L3E0r3Y2g1t2g0l/Screen%20Recording%202016-07-26%20at%2010.56%20AM.gif)\n\n## Installation\n\n#### Via Gittio\n\n```\ngittio install com.caffeina.titanium.searchbar\n```\n\n#### Via Github\n\nDownload the latest release, and add in your *config.json*, under `dependencies`:\n\n```json\n\"dependencies\": {\n    \"com.caffeina.titanium.searchbar\": \"*\"\n}\n```\n\n## Fully stylable via TSS\n\nWatch the `widget.tss` file for all options and override the rules with ID instead of class.\n\n## Usage\n\nIn you XML file:\n\n```xml\n\u003cTitleControl\u003e\n    \u003cWidget id=\"searchBar\" src=\"com.caffeina.titanium.searchbar\" title=\"Caffeina\" /\u003e\n\u003c/TitleControl\u003e\n```\n\nIn your JS file:\n\n```js\n$.searchBar.on('change', function(e) {\n    // Filter your data using e.value\n})\n```\n\n## Constructor options\n\n#### `animationsDuration` (Number, default: `400`)\n\nThe duration of the animations.\n\n#### `title` (String, default: `Ti.App.name`)\n\nThe title for the label.\n\n## API\n\n#### `.setSearchMode()`\n\nSet the UI in search mode.\n\n#### `.setTitleMode()`\n\nSet the UI in title mode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaffeinalab%2Fti.searchbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaffeinalab%2Fti.searchbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaffeinalab%2Fti.searchbar/lists"}