{"id":17354106,"url":"https://github.com/mizuka-wu/el-table-horizontal-scroll","last_synced_at":"2025-09-01T00:33:47.968Z","repository":{"id":57221249,"uuid":"457149597","full_name":"mizuka-wu/el-table-horizontal-scroll","owner":"mizuka-wu","description":"el-table awlays show horizontal-scroller on bottom","archived":false,"fork":false,"pushed_at":"2024-06-12T13:31:21.000Z","size":2443,"stargazers_count":71,"open_issues_count":9,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-06T14:31:25.101Z","etag":null,"topics":["el-table","element-ui","horizontal","scrollbar","vuejs2"],"latest_commit_sha":null,"homepage":"https://www.mizuka.top/el-table-horizontal-scroll/index.html","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/mizuka-wu.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":"2022-02-09T00:19:01.000Z","updated_at":"2024-11-27T08:26:14.000Z","dependencies_parsed_at":"2024-10-30T09:16:16.840Z","dependency_job_id":null,"html_url":"https://github.com/mizuka-wu/el-table-horizontal-scroll","commit_stats":{"total_commits":62,"total_committers":2,"mean_commits":31.0,"dds":0.3548387096774194,"last_synced_commit":"0d13351c34f6585639d4fda80253e6cf6afa8329"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizuka-wu%2Fel-table-horizontal-scroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizuka-wu%2Fel-table-horizontal-scroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizuka-wu%2Fel-table-horizontal-scroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizuka-wu%2Fel-table-horizontal-scroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizuka-wu","download_url":"https://codeload.github.com/mizuka-wu/el-table-horizontal-scroll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229770424,"owners_count":18121595,"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":["el-table","element-ui","horizontal","scrollbar","vuejs2"],"created_at":"2024-10-15T17:19:03.525Z","updated_at":"2024-12-15T01:09:39.976Z","avatar_url":"https://github.com/mizuka-wu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# el-table-horizontal-scroll\n\n\u003e let el-table show horizontal scroll-bar at bottom\n\nsupport vue2 and vue3\n\n[中文文档]('./README_CN.md')\n\n## How to use\n\n![](./res.gif)\n\n### install\n\n```\nnpm install el-table-horizontal-scroll\n```\n\n### register directive\n\n```\nimport horizontalScroll from 'el-table-horizontal-scroll'\n\n# vue2\nVue.use(horizontalScroll)\n\n# vue3\napp.use(horizontalScroll)\n```\n\nor\n\n```\nimport horizontalScroll from 'el-table-horizontal-scroll'\n\nexport default {\n    directives: {\n        horizontalScroll\n    }\n}\n```\n\n### use\n\n```\n\u003cel-table\n  :data=\"data\"\n  v-horizontal-scroll\n\u003e\n  \u003cel-table-column\n    fixed=\"left\"\n    label=\"a\"\n    prop=\"a\"\n  \u003e\u003c/el-table-column\u003e\n  \u003cel-table-column\n    label=\"b\"\n    prop=\"b\"\n  \u003e\u003c/el-table-column\u003e\n  \u003cel-table-column\n    label=\"c\"\n    prop=\"c\"\n  \u003e\u003c/el-table-column\u003e\n  \u003cel-table-column\n    label=\"d\"\n    prop=\"d\"\n    width=\"1600\"\n  \u003e\u003c/el-table-column\u003e\n\u003c/el-table\u003e\n```\n\n## props\n\nyou can use `always` or `hover` or `hidden`\n\ndefault is `hover`, the bar will show when your mouse over the table\n\nor you can change it to always, and make the bar always show\n\nexample\n\n```\n\u003cel-table\n  :data=\"data\"\n  v-horizontal-scroll=\"'always'\"\n\u003e\n  \u003cel-table-column\n    fixed=\"left\"\n    label=\"a\"\n    prop=\"a\"\n  \u003e\u003c/el-table-column\u003e\n  \u003cel-table-column\n    label=\"b\"\n    prop=\"b\"\n  \u003e\u003c/el-table-column\u003e\n  \u003cel-table-column\n    label=\"c\"\n    prop=\"c\"\n  \u003e\u003c/el-table-column\u003e\n  \u003cel-table-column\n    label=\"d\"\n    prop=\"d\"\n    width=\"1600\"\n  \u003e\u003c/el-table-column\u003e\n\u003c/el-table\u003e\n```\n\n## How to change scrollbar‘s height\n\n`.el-table-horizontal-scrollbarl`\n\nmanual add style to this class\n\nif you think the scroller is so small when hover,\nyou can add this to the style\n\n```css\n.el-table-horizontal-scrollbar:hover {\n  transform: scaleY(1.5);\n  filter: brightness(0.1);\n  transform: scaleY(1.75) translateY(-10%);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizuka-wu%2Fel-table-horizontal-scroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizuka-wu%2Fel-table-horizontal-scroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizuka-wu%2Fel-table-horizontal-scroll/lists"}