{"id":13424072,"url":"https://github.com/Ginhing/vue-tagsinput","last_synced_at":"2025-03-15T18:33:22.770Z","repository":{"id":143926810,"uuid":"57951346","full_name":"Ginhing/vue-tagsinput","owner":"Ginhing","description":"A tags input component based on Vue.js","archived":true,"fork":false,"pushed_at":"2018-05-25T05:49:39.000Z","size":218,"stargazers_count":76,"open_issues_count":3,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-19T08:19:17.873Z","etag":null,"topics":["tagsinput","vue"],"latest_commit_sha":null,"homepage":"https://vue-tagsinput.surge.sh/","language":"Vue","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/Ginhing.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-05-03T07:50:19.000Z","updated_at":"2024-05-08T15:18:52.000Z","dependencies_parsed_at":"2024-01-17T22:13:06.727Z","dependency_job_id":"24f7cf59-3d94-4357-b805-4572335c0868","html_url":"https://github.com/Ginhing/vue-tagsinput","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/Ginhing%2Fvue-tagsinput","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ginhing%2Fvue-tagsinput/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ginhing%2Fvue-tagsinput/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ginhing%2Fvue-tagsinput/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ginhing","download_url":"https://codeload.github.com/Ginhing/vue-tagsinput/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221593495,"owners_count":16849127,"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":["tagsinput","vue"],"created_at":"2024-07-31T00:00:48.031Z","updated_at":"2024-10-26T22:32:40.241Z","avatar_url":"https://github.com/Ginhing.png","language":"Vue","funding_links":[],"categories":["Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)","UI组件","Awesome Vue.js","UI Components"],"sub_categories":["Libraries \u0026 Plugins","Form"],"readme":"\u003e## This Project Is Deprecated\n# vue-tagsinput\n[![][npm-image]][npm-url]\n\n[npm-image]: https://img.shields.io/npm/v/vue-tagsinput.svg\n[npm-url]: https://npmjs.org/package/vue-tagsinput\n\n\u003ekerboard supported(left, right, backspace, tab).\n![](anim.gif)\n\n## Requirement\n- vue: `^2.1.0`\n\n## Usage\n```html\n\u003cdiv id=\"example\"\u003e\n    \u003ctags-input\n        :tags=\"tags\"\n        @tags-change=\"handleChange\"\n    \u003e\u003c/tags-input\u003e\n\u003c/div\u003e\n```\n\n## Example\n[Live example](http://www.webpackbin.com/Vyc_H61fG)\n\n## Props\n- tags(array\\\u003c{ text: string, readOnly: ?boolean, invalid: ?boolean }\u003e, required):\nyour tags to render\n- placeholder(string): a hint to the user\n- klass(object): override the class name (see below)\n\n## Events\n- tags-change: (index: number, text: ?string) =\u003e void\n  `text` will be undefined if the tag was removed\n- focus: (index: number) =\u003e void\n- blur: (index: number) =\u003e void\n\n## Class Names\n```javascript\n{\n    container: 'tags-input',\n    input: 'input',\n    placeholder: 'placeholder',\n    gap: 'gap',\n    tag: 'tag'\n}\n```\n\n## Migration from 0.x\nBecause of the two-way props was obsoleted in Vue@2, we should deal with tags by one-way props and onChange callback explicitly.\nSo most states will be handled in your scope. See the [full example](./example/full.vue).\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGinhing%2Fvue-tagsinput","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGinhing%2Fvue-tagsinput","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGinhing%2Fvue-tagsinput/lists"}