{"id":21502248,"url":"https://github.com/mrtcode/tagbar","last_synced_at":"2025-11-03T23:04:20.375Z","repository":{"id":76796154,"uuid":"82727106","full_name":"mrtcode/tagbar","owner":"mrtcode","description":"Tagbar component with an auto-suggester","archived":false,"fork":false,"pushed_at":"2017-02-24T11:58:00.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T23:30:02.506Z","etag":null,"topics":["tagbar","tags","user-interface"],"latest_commit_sha":null,"homepage":"","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/mrtcode.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-21T21:06:44.000Z","updated_at":"2017-02-24T19:48:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd81b133-0566-439b-b17b-d6bd1b97a02c","html_url":"https://github.com/mrtcode/tagbar","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/mrtcode%2Ftagbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtcode%2Ftagbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtcode%2Ftagbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtcode%2Ftagbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrtcode","download_url":"https://codeload.github.com/mrtcode/tagbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244043436,"owners_count":20388579,"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":["tagbar","tags","user-interface"],"created_at":"2024-11-23T18:14:11.843Z","updated_at":"2025-11-03T23:04:20.346Z","avatar_url":"https://github.com/mrtcode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Tagbar\n\n[Demo](https://mrtcode.github.io/tagbar/demo.html)\n\n[![](https://mrtcode.github.io/tagbar/images/tagbar.png)](https://mrtcode.github.io/tagbar/demo.html)\n\nWrite tags\n\nInsert/remove tags\n\n* No dependencies\n* Has an autosuggester\n* Supports touch devices\n\n## Usage\n\nDownload [Tagbar](https://github.com/mrtcode/tagbar/releases) and include `tagbar.js` and `tagbar.css` files on your page.\n\n```\n    \u003clink rel=\"stylesheet\" href=\"tagbar.css\"\u003e\n    \u003cscript src=\"tagbar.js\"\u003e\u003c/script\u003e\n```\n\nAlternatively, you can require it as a module if you use Browserify\n\n```js\n    var tagbar = require('./tagbar.js');\n```\n\nCreate a tagbar inside a container. Pass an element or element id as a container parameter.\n\n```html\n\u003cdiv id=\"container-id\"\u003e\u003c/div\u003e\n```\n\n```js\n    var tagbar = new Tagbar({\n        container: 'container-id',\n    });\n\n    tagbar.setTags(['creative', 'holidays']);\n\n    var tags = tagbar.getTags();\n```\n\nAttach event handlers\n\n```js\nvar tagbar = new Tagbar({\n    container: 'container-id',\n    onAdd: function (tag) {\n        console.log(tag);\n    },\n    onRemove: function (tag) {\n      console.log(tag);\n    },\n    onSuggest: function (query, callback) {\n      callback(['suggestion1', 'suggestion2', 'suggestion3']);\n    }\n  });\n```\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrtcode%2Ftagbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrtcode%2Ftagbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrtcode%2Ftagbar/lists"}