{"id":15024819,"url":"https://github.com/naver/egjs-conveyer","last_synced_at":"2025-05-16T12:05:52.724Z","repository":{"id":37105592,"uuid":"460730992","full_name":"naver/egjs-conveyer","owner":"naver","description":"Conveyer adds Drag gestures to your Native Scroll.","archived":false,"fork":false,"pushed_at":"2025-03-27T10:43:57.000Z","size":10832,"stargazers_count":116,"open_issues_count":8,"forks_count":8,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-30T09:06:16.051Z","etag":null,"topics":["cfcs","conveyer","drag","gesture","reactive","scroll","use"],"latest_commit_sha":null,"homepage":"https://naver.github.io/egjs-conveyer/","language":"TypeScript","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/naver.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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-18T06:07:28.000Z","updated_at":"2025-03-28T22:00:55.000Z","dependencies_parsed_at":"2024-06-18T18:38:33.355Z","dependency_job_id":"c871e6a9-84a0-49a1-8ed7-2155ad2dd9b1","html_url":"https://github.com/naver/egjs-conveyer","commit_stats":{"total_commits":79,"total_committers":8,"mean_commits":9.875,"dds":0.5063291139240507,"last_synced_commit":"90a8451414b1322f228a567aa1d07ef63c13919f"},"previous_names":[],"tags_count":133,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naver%2Fegjs-conveyer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naver%2Fegjs-conveyer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naver%2Fegjs-conveyer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naver%2Fegjs-conveyer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naver","download_url":"https://codeload.github.com/naver/egjs-conveyer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247006119,"owners_count":20868023,"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":["cfcs","conveyer","drag","gesture","reactive","scroll","use"],"created_at":"2024-09-24T20:01:01.122Z","updated_at":"2025-04-06T10:10:57.119Z","avatar_url":"https://github.com/naver.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" style=\"max-width: 100%;\"\u003e\n  \u003cimg width=\"256\" alt=\"Conveyer Logo\" src=\"https://naver.github.io/egjs-conveyer/img/logo.png\" style=\"max-width: 100%;\" /\u003e\u003cbr/\u003e\n  \u003ca href=\"https://naver.github.io/egjs-conveyer/\"\u003eConveyer\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\" style=\"line-height: 2;\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@egjs/conveyer\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@egjs/conveyer.svg?style=flat-square\u0026color=007acc\u0026label=version\u0026logo=NPM\" alt=\"version\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@egjs/conveyer\" target=\"_blank\"\u003e\u003cimg alt=\"npm weekly downloads\" src=\"https://img.shields.io/npm/dw/@egjs/conveyer?logo=npm\u0026style=flat-square\u0026color=007acc\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@egjs/conveyer\" target=\"_blank\"\u003e\u003cimg alt=\"npm bundle size (scoped)\" src=\"https://img.shields.io/bundlephobia/minzip/@egjs/conveyer.svg?style=flat-square\u0026label=%F0%9F%92%BE%20gzipped\u0026color=007acc\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/naver/egjs-conveyer/actions\" target=\"_blank\"\u003e\u003cimg alt=\"Github actions\" src=\"https://img.shields.io/github/workflow/status/naver/egjs-conveyer/Run%20tests?style=flat-square\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://coveralls.io/github/naver/egjs-conveyer?branch=master\u0026style=flat-square\" target=\"_blank\"\u003e\u003cimg alt=\"Coveralls github\" src=\"https://img.shields.io/coveralls/github/naver/egjs-conveyer.svg?style=flat-square\u0026label=%E2%9C%85%20coverage\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/naver/egjs-conveyer/blob/main/LICENSE\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?style=flat-square\u0026label=%F0%9F%93%9C%20license\u0026message=MIT\u0026color=08CE5D\" /\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/static/v1.svg?label=\u0026message=TypeScript\u0026color=294E80\u0026style=flat-square\u0026logo=typescript\" /\u003e\n\u003c/p\u003e\n\u003cp align=\"center\" style=\"line-height: 2;\"\u003e\n  \u003ca href=\"https://github.com/naver/egjs-conveyer/blob/main/packages/ngx-conveyer/README.md\" target=\"_blank\"\u003e\u003cimg alt=\"Angular\" src=\"https://img.shields.io/static/v1.svg?label=\u0026message=Angular\u0026style=flat-square\u0026logo=Angular\u0026color=dd0031\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/naver/egjs-conveyer/blob/main/packages/react-conveyer/README.md\" target=\"_blank\"\u003e\u003cimg alt=\"React\" src=\"https://img.shields.io/static/v1.svg?label=\u0026message=React\u0026style=flat-square\u0026logo=React\u0026logoColor=white\u0026color=61dafb\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/naver/egjs-conveyer/blob/main/packages/vue-conveyer/README.md\" target=\"_blank\"\u003e\u003cimg alt=\"Vue\" src=\"https://img.shields.io/static/v1.svg?label=\u0026message=Vue3\u0026style=flat-square\u0026logo=Vue.js\u0026logoColor=white\u0026color=42b883\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/naver/egjs-conveyer/blob/main/packages/vue2-conveyer/README.md\" target=\"_blank\"\u003e\u003cimg alt=\"Vue\" src=\"https://img.shields.io/static/v1.svg?label=\u0026message=Vue2\u0026style=flat-square\u0026logo=Vue.js\u0026logoColor=white\u0026color=42b883\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/naver/egjs-conveyer/blob/main/packages/svelte-conveyer/README.md\" target=\"_blank\"\u003e\u003cimg alt=\"Svelte\" src=\"https://img.shields.io/static/v1.svg?label=\u0026message=Svelte\u0026style=flat-square\u0026logo=svelte\u0026logoColor=white\u0026color=FF3E00\" /\u003e\u003c/a\u003e\n\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\n  \u003ca href=\"https://naver.github.io/egjs-conveyer/\"\u003eDemo\u003c/a\u003e / \u003ca href=\"https://naver.github.io/egjs-conveyer/docs/api/Conveyer\"\u003eDocumentation\u003c/a\u003e / \u003ca href=\"https://naver.github.io/egjs/\"\u003e\u003cimg height=\"20\" src=\"https://naver.github.io/egjs/img/logo.svg\"/\u003e Other components\u003c/a\u003e\n\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eConveyer adds Drag gestures to your Native Scroll.\u003c/b\u003e\u003cbr /\u003e📱💻🖥\n\u003c/p\u003e\n\n\n-----\n\n## ✨ Features\n- You can use Native Scroll-like behavior through Drag.\n- By adding easing features such as bounce, elasticity, and back, you can create smooth scrolling animations like Native Scroll.\n- Supports Reactive Properties that can change state through properties that automatically detect changes instead of events.\n- You can use custom scroll events like onBeginScroll, onFinishScroll, onReachStart, onLeaveStart,\n\n## ⚙️ Installation\n#### npm\n```bash\n$ npm install --save @egjs/conveyer\n```\n\n#### CDN\n- unpkg: https://unpkg.com/@egjs/conveyer/dist/\n\n## 🏃 Quick Start\n#### HTML\n\n```html\n\u003cdiv class=\"items\"\u003e\n  \u003cdiv class=\"item\"\u003e\u003c/div\u003e\n  \u003cdiv class=\"item\"\u003e\u003c/div\u003e\n  \u003cdiv class=\"item\"\u003e\u003c/div\u003e\n  \u003cdiv class=\"item\"\u003e\u003c/div\u003e\n\u003c/div\u003e\n```\n#### ES Modules\n```ts\nimport Conveyer from \"@egjs/conveyer\";\n\nconst conveyer = new Conveyer(\".items\");\n```\n\n#### With CDN\n```html\n\u003c!-- Packaged with all dependencies --\u003e\n\u003c!-- https://naver.github.io/egjs-conveyer/release/latest/dist/conveyer.min.js --\u003e\n\u003cscript src=\"https://unpkg.com/@egjs/conveyer/dist/conveyer.min.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\nconst conveyer = new Conveyer(\".items\");\n\u003c/script\u003e\n```\n##  How to use\n#### HTML\n```html\n\u003cbutton class=\"prev\"\u003eprev\u003c/button\u003e\n\u003cbutton class=\"next\"\u003enext\u003c/button\u003e\n\u003cdiv class=\"items\"\u003e\n  \u003cdiv class=\"item\"\u003e\u003c/div\u003e\n  \u003cdiv class=\"item\"\u003e\u003c/div\u003e\n  \u003cdiv class=\"item\"\u003e\u003c/div\u003e\n  \u003cdiv class=\"item\"\u003e\u003c/div\u003e\n\u003c/div\u003e\n```\n#### JS\n```js\nimport Conveyer from \"@egjs/conveyer\";\n\n// Since events occur during initialization, set `autoInit` to false if you want to register events.\nconst conveyer = new Conveyer(\".items\", {\n  autoInit: false,\n});\n\nconst prev = document.querySelector(\".prev\");\nconst next = document.querySelector(\".next\");\n\nprev.addEventListener(\"click\", () =\u003e {\n  // start to end\n  conveyer.scrollIntoView(\"start\", {\n    align: \"end\",\n    duration: 500,\n    excludeStand: true,\n  });\n});\nnext.addEventListener(\"click\", () =\u003e {\n  // end to start\n  conveyer.scrollIntoView(\"end\", {\n    align: \"start\",\n    duration: 500,\n    excludeStand: true,\n  });\n});\nconveyer.subscribe(\"isReachStart\", value =\u003e {\n  prev.disabled = value;\n});\nconveyer.subscribe(\"isReachEnd\", value =\u003e {\n  next.disabled = value;\n});\n\nconveyer.init();\n```\n\n## 📦 Packages\n|Package|Version|Description|\n|:-----:|:-----:|:-----:|\n|[**@egjs/conveyer**](https://github.com/naver/egjs-conveyer/blob/main/packages/conveyer/README.md)|\u003ca href=\"https://www.npmjs.com/package/@egjs/conveyer\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@egjs/conveyer.svg?style=flat-square\u0026color=eeee55\u0026label=%F0%9F%94%96\" alt=\"version\" /\u003e\u003c/a\u003e|Conveyer adds Drag gestures to your Native Scroll.|\n|[**@egjs/ngx-conveyer**](https://github.com/naver/egjs-conveyer/blob/main/packages/ngx-conveyer/README.md)|\u003ca href=\"https://www.npmjs.com/package/@egjs/ngx-conveyer\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@egjs/ngx-conveyer.svg?style=flat-square\u0026color=dd0031\u0026label=%F0%9F%94%96\" alt=\"version\" /\u003e\u003c/a\u003e|\u003cimg width=\"15\" src=\"https://naver.github.io/egjs-conveyer/img/icons/angular.svg\" valign=\"middle\" alt=\"Angular\" /\u003e [Angular](https://angular.io/) port of @egjs/conveyer|\n|[**@egjs/react-conveyer**](https://github.com/naver/egjs-conveyer/blob/main/packages/react-conveyer/README.md)|\u003ca href=\"https://www.npmjs.com/package/@egjs/react-conveyer\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@egjs/react-conveyer.svg?style=flat-square\u0026color=00d8ff\u0026label=%F0%9F%94%96\" alt=\"version\" /\u003e\u003c/a\u003e|\u003cimg width=\"15\" src=\"https://naver.github.io/egjs-conveyer/img/icons/react.svg\" valign=\"middle\" alt=\"React\" /\u003e [React](https://reactjs.org/) port of @egjs/conveyer|\n|[**@egjs/vue-conveyer**](https://github.com/naver/egjs-conveyer/blob/main/packages/vue-conveyer/README.md)|\u003ca href=\"https://www.npmjs.com/package/@egjs/vue-conveyer\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@egjs/vue-conveyer.svg?style=flat-square\u0026color=42b883\u0026label=%F0%9F%94%96\" alt=\"version\" /\u003e\u003c/a\u003e|\u003cimg width=\"15\" src=\"https://naver.github.io/egjs-conveyer/img/icons/vue.svg\" valign=\"middle\" alt=\"Vue.js\" /\u003e [Vue.js@3](https://vuejs.org/v2/guide/index.html) port of @egjs/conveyer|\n|[**@egjs/vue2-conveyer**](https://github.com/naver/egjs-conveyer/blob/main/packages/vue2-conveyer/README.md)|\u003ca href=\"https://www.npmjs.com/package/@egjs/vue2-conveyer\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@egjs/vue2-conveyer.svg?style=flat-square\u0026color=42b883\u0026label=%F0%9F%94%96\" alt=\"version\" /\u003e\u003c/a\u003e|\u003cimg width=\"15\" src=\"https://naver.github.io/egjs-conveyer/img/icons/vue.svg\" valign=\"middle\" alt=\"Vue.js\" /\u003e [Vue.js@2](https://v3.vuejs.org/) port of @egjs/conveyer|\n|[**@egjs/svelte-conveyer**](https://github.com/naver/egjs-conveyer/blob/main/packages/svelte-conveyer/README.md)|\u003ca href=\"https://www.npmjs.com/package/@egjs/svelte-conveyer\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@egjs/svelte-conveyer.svg?style=flat-square\u0026color=FF3E00\u0026label=%F0%9F%94%96\" alt=\"version\" /\u003e\u003c/a\u003e|\u003cimg width=\"15\" src=\"https://naver.github.io/egjs-conveyer/img/icons/svelte.svg\" valign=\"middle\" alt=\"Svelte\" /\u003e [Svelte](https://svelte.dev/) port of @egjs/conveyer|\n\n## 🌐 Supported Browsers\n|\u003cimg width=\"20\" src=\"https://simpleicons.org/icons/internetexplorer.svg\" alt=\"IE\" /\u003e|\u003cimg width=\"20\" src=\"https://simpleicons.org/icons/googlechrome.svg\" alt=\"Chrome\" /\u003e|\u003cimg width=\"20\" src=\"https://simpleicons.org/icons/firefoxbrowser.svg\" alt=\"Firefox\" /\u003e|\u003cimg width=\"20\" src=\"https://simpleicons.org/icons/safari.svg\" alt=\"Safari\" /\u003e|\u003cimg width=\"20\" src=\"https://simpleicons.org/icons/apple.svg\" alt=\"iOS\" /\u003e|\u003cimg width=\"20\" src=\"https://simpleicons.org/icons/android.svg\" alt=\"Android\" /\u003e|\n|:---:|:---:|:---:|:---:|:---:|:---:|\n|9+(With polyfill), 11+ for Angular \u0026 Svelte|Latest|Latest|Latest|7+|4+|\n\n## 📼 Demos\nCheck our [Demos](https://naver.github.io/egjs-conveyer/).\n\n## 📖 Documentation\nSee [Documentation](https://naver.github.io/egjs-conveyer/docs/api/Conveyer) page.\n\n## 🙌 Contributing\nSee [CONTRIBUTING.md](https://github.com/naver/egjs-conveyer/blob/main/CONTRIBUTING.md).\n\n## 📝 Feedback\nPlease file an [Issue](https://github.com/naver/egjs-conveyer/issues).\n\n\n## 📜 License\n@egjs/conveyer is released under the [MIT license](LICENSE).\n\n```\nCopyright (c) 2022-present NAVER Corp.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n```\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://naver.github.io/egjs/\"\u003e\u003cimg height=\"50\" src=\"https://naver.github.io/egjs/img/logotype1_black.svg\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003ca href=\"https://github.com/naver\"\u003e\u003cimg height=\"50\" src=\"https://naver.github.io/OpenSourceGuide/book/assets/naver_logo.png\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaver%2Fegjs-conveyer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaver%2Fegjs-conveyer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaver%2Fegjs-conveyer/lists"}