{"id":18646891,"url":"https://github.com/rendom/vue-virtual-list","last_synced_at":"2025-04-11T12:32:06.781Z","repository":{"id":66364871,"uuid":"69823318","full_name":"rendom/vue-virtual-list","owner":"rendom","description":"Vue 2 virtual list.","archived":false,"fork":false,"pushed_at":"2022-02-04T14:43:15.000Z","size":12,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T14:21:18.411Z","etag":null,"topics":["infinite-scroll","scroll","virtual-list","vue","vue-virtual-list","vue2"],"latest_commit_sha":null,"homepage":"","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/rendom.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":"2016-10-02T21:32:41.000Z","updated_at":"2020-02-14T08:25:42.000Z","dependencies_parsed_at":"2023-02-20T16:01:12.347Z","dependency_job_id":null,"html_url":"https://github.com/rendom/vue-virtual-list","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/rendom%2Fvue-virtual-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rendom%2Fvue-virtual-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rendom%2Fvue-virtual-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rendom%2Fvue-virtual-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rendom","download_url":"https://codeload.github.com/rendom/vue-virtual-list/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248402025,"owners_count":21097328,"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":["infinite-scroll","scroll","virtual-list","vue","vue-virtual-list","vue2"],"created_at":"2024-11-07T06:23:23.611Z","updated_at":"2025-04-11T12:32:06.773Z","avatar_url":"https://github.com/rendom.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-virtual-list\n\nDynamicHeight is broken atm.  \n\n### 1. Install component\n`npm install vue-virtual-list`\n\nIf you have mixed heights on your rows then you need to specify `h (Number)` property on your object with the height.\n\n### 2. Setup your app\n```\n\u003ctemplate\u003e\n  \u003cdiv id=\"app\"\u003e\n    \u003cvue-virtual-list\u003e\n        \u003cdiv v-for=\"item of items\"\u003e{{item.name}}\u003c/div\u003e \n    \u003c/vue-virtual-list\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport vl from 'vue-virtual-list'\n\nexport default {\n  components: {\n    vl\n  },\n  data () {\n    var items = []\n    for (var i = 0; i \u003c 50; i++) {\n      items.push({name: 'item' + i, h: 20})\n    }\n\n    return {\n      items: items,\n    }\n  }\n}\n\u003c/script\u003e\n```\n\n### Component properties\n| Name        | Type          | Default  |\n| ------------- |:-------------:| -----:|\n| scroll      | String      |   None, this prop is required can either be `window` or `container`. |\n| scrollContainerHegiht | Number      |    Defaults to 500 and is only required if you use scroll container |\n| dynamicHeight | Boolean      |    Defaults to `true` this requires that you specify height on your objects. |\n| rowHeight | Number      |    Defaults to 0 and is only required if you set objectHeight to false|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frendom%2Fvue-virtual-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frendom%2Fvue-virtual-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frendom%2Fvue-virtual-list/lists"}