{"id":24690027,"url":"https://github.com/kim366/vue-details","last_synced_at":"2026-03-12T01:38:22.160Z","repository":{"id":65519206,"uuid":"134439595","full_name":"kim366/vue-details","owner":"kim366","description":"Proper support for the HTML5 \u003cdetails\u003e tag in Vue 2 including v-model attribute (\u003c1KB)","archived":false,"fork":false,"pushed_at":"2023-01-14T10:56:14.000Z","size":13,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T18:48:56.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codepen.io/kim366/pen/OZGLVY","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/kim366.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":"2018-05-22T15:56:16.000Z","updated_at":"2023-01-14T10:54:18.000Z","dependencies_parsed_at":"2023-02-09T19:15:31.603Z","dependency_job_id":null,"html_url":"https://github.com/kim366/vue-details","commit_stats":null,"previous_names":["kim366/vuedetails"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kim366/vue-details","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kim366%2Fvue-details","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kim366%2Fvue-details/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kim366%2Fvue-details/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kim366%2Fvue-details/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kim366","download_url":"https://codeload.github.com/kim366/vue-details/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kim366%2Fvue-details/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30412090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T00:40:14.898Z","status":"ssl_error","status_checked_at":"2026-03-12T00:40:08.439Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-01-26T18:18:33.950Z","updated_at":"2026-03-12T01:38:22.144Z","avatar_url":"https://github.com/kim366.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/vue-details.svg)](https://www.npmjs.com/package/vue-details)\n\n# Vue Details for Vue 2\n\nProper support for `\u003cdetails\u003e` tag in Vue.js including `v-model` attribute.\n\n## Get Started\n\n### Using Node.js\n\nInstall package\n```\nnpm install vue-details\n```\n\nInitialize globally\n```js\nimport Vue from 'vue';\nimport VueDetails from 'vue-details';\n\nVue.component('v-details', VueDetails);\n```\n\nor locally as shown in the example below.\n\n### Using CDN\n\nLoad script\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/vue-details\"\u003e\u003c/script\u003e\n```\n\nor\n\n```html\n\u003cscript src=\"https://unpkg.com/vue-details/dist/vue-details.min.js\"\u003e\u003c/script\u003e\n```\n\nRegister component\n\n```js\nVue.component('v-details', VueDetails);\n```\n\n## An Example\n\n### Try it Online\n- [Codepen](https://codepen.io/kim366/pen/OZGLVY)\n\n### Code in a `.vue` File\n\n```vue\n\u003ctemplate\u003e\n  \u003cv-details v-model=\"open\"\u003e\n    \u003csummary\u003e\n      Content is {{ open ? 'shown' : 'hidden' }}\n    \u003c/summary\u003e\n    \u003cp\u003e\n      Expandable content\n    \u003c/p\u003e\n  \u003c/v-details\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport VueDetails from 'vue-details';\n\nexport default {\n  data() {\n    return {\n      open: true\n    }\n  },\n  components: { 'v-details': VueDetails }\n}\n\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkim366%2Fvue-details","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkim366%2Fvue-details","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkim366%2Fvue-details/lists"}