├── packages ├── docs │ ├── static │ │ ├── .nojekyll │ │ └── img │ │ │ ├── grid.png │ │ │ ├── logo.png │ │ │ ├── favicon.ico │ │ │ ├── FrameGrid.png │ │ │ ├── MasonryGrid.png │ │ │ ├── PackingGrid.png │ │ │ ├── JustifiedGrid.png │ │ │ ├── scrollIntoView1.png │ │ │ ├── scrollIntoView2.png │ │ │ ├── titlelogo.afdesign │ │ │ ├── infinitegrid_logo.png │ │ │ └── icons │ │ │ ├── arrow_right.svg │ │ │ ├── grid.svg │ │ │ ├── README.md │ │ │ ├── loading.svg │ │ │ ├── books.svg │ │ │ ├── css3.svg │ │ │ ├── download.svg │ │ │ ├── placeholder.svg │ │ │ ├── star.svg │ │ │ ├── vue.svg │ │ │ ├── favorite.svg │ │ │ ├── task_alt.svg │ │ │ ├── extension.svg │ │ │ ├── infinity.svg │ │ │ ├── reaction.svg │ │ │ ├── nuxt.svg │ │ │ └── drag.svg │ ├── docs │ │ ├── codes │ │ │ ├── SideWheel │ │ │ │ ├── angularComponent.txt │ │ │ │ ├── js.txt │ │ │ │ ├── html.txt │ │ │ │ ├── angularHTML.txt │ │ │ │ └── svelte.txt │ │ │ ├── HorizontalScroll │ │ │ │ ├── angularComponent.txt │ │ │ │ ├── js.txt │ │ │ │ ├── html.txt │ │ │ │ ├── angularHTML.txt │ │ │ │ ├── svelte.txt │ │ │ │ └── vue.txt │ │ │ ├── VerticalScroll │ │ │ │ ├── angularComponent.txt │ │ │ │ ├── js.txt │ │ │ │ ├── html.txt │ │ │ │ ├── angularHTML.txt │ │ │ │ └── svelte.txt │ │ │ ├── ReactiveProperties │ │ │ │ ├── angularComponent.txt │ │ │ │ ├── js.txt │ │ │ │ ├── html.txt │ │ │ │ └── angularHTML.txt │ │ │ ├── InfiniteScroll │ │ │ │ └── html.txt │ │ │ ├── Methods │ │ │ │ ├── html.txt │ │ │ │ ├── angularHTML.txt │ │ │ │ ├── js.txt │ │ │ │ └── angularComponent.txt │ │ │ └── Intersection │ │ │ │ ├── html.txt │ │ │ │ ├── angularHTML.txt │ │ │ │ ├── js.txt │ │ │ │ └── angularComponent.txt │ │ └── examples │ │ │ ├── HorizontalScroll.mdx │ │ │ └── VerticalScroll.mdx │ ├── versioned_docs │ │ ├── version-1.3.1 │ │ │ ├── codes │ │ │ │ ├── SideWheel │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── svelte.txt │ │ │ │ ├── HorizontalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ ├── svelte.txt │ │ │ │ │ └── vue.txt │ │ │ │ ├── ReactiveProperties │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ └── angularHTML.txt │ │ │ │ ├── VerticalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── svelte.txt │ │ │ │ ├── InfiniteScroll │ │ │ │ │ └── html.txt │ │ │ │ └── Methods │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ └── angularComponent.txt │ │ │ ├── api │ │ │ │ ├── IS_IE.mdx │ │ │ │ ├── CONVEYER_METHODS.mdx │ │ │ │ ├── OnFinishScroll.mdx │ │ │ │ ├── ConveyerItem.mdx │ │ │ │ ├── FindItemOptions.mdx │ │ │ │ └── isString.mdx │ │ │ └── examples │ │ │ │ ├── HorizontalScroll.mdx │ │ │ │ └── VerticalScroll.mdx │ │ ├── version-1.4.7 │ │ │ ├── codes │ │ │ │ ├── SideWheel │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── svelte.txt │ │ │ │ ├── HorizontalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ ├── svelte.txt │ │ │ │ │ └── vue.txt │ │ │ │ ├── ReactiveProperties │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ └── angularHTML.txt │ │ │ │ ├── VerticalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── svelte.txt │ │ │ │ ├── InfiniteScroll │ │ │ │ │ └── html.txt │ │ │ │ └── Methods │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── js.txt │ │ │ ├── api │ │ │ │ ├── IS_IE.mdx │ │ │ │ ├── CONVEYER_METHODS.mdx │ │ │ │ ├── OnFinishScroll.mdx │ │ │ │ ├── ConveyerItem.mdx │ │ │ │ ├── FindItemOptions.mdx │ │ │ │ └── isString.mdx │ │ │ └── examples │ │ │ │ ├── HorizontalScroll.mdx │ │ │ │ └── VerticalScroll.mdx │ │ ├── version-1.6.2 │ │ │ ├── codes │ │ │ │ ├── SideWheel │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── svelte.txt │ │ │ │ ├── HorizontalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ ├── svelte.txt │ │ │ │ │ └── vue.txt │ │ │ │ ├── ReactiveProperties │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ └── angularHTML.txt │ │ │ │ ├── VerticalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── svelte.txt │ │ │ │ ├── InfiniteScroll │ │ │ │ │ └── html.txt │ │ │ │ ├── Methods │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── js.txt │ │ │ │ └── Intersection │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── js.txt │ │ │ ├── api │ │ │ │ ├── IS_IE.mdx │ │ │ │ ├── CONVEYER_METHODS.mdx │ │ │ │ ├── ConveyerItem.mdx │ │ │ │ ├── OnFinishScroll.mdx │ │ │ │ ├── isString.mdx │ │ │ │ └── FindItemOptions.mdx │ │ │ └── examples │ │ │ │ ├── HorizontalScroll.mdx │ │ │ │ └── VerticalScroll.mdx │ │ ├── version-1.7.1 │ │ │ ├── codes │ │ │ │ ├── SideWheel │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── svelte.txt │ │ │ │ ├── HorizontalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ ├── svelte.txt │ │ │ │ │ └── vue.txt │ │ │ │ ├── ReactiveProperties │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ └── angularHTML.txt │ │ │ │ ├── VerticalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── svelte.txt │ │ │ │ ├── InfiniteScroll │ │ │ │ │ └── html.txt │ │ │ │ ├── Methods │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── js.txt │ │ │ │ └── Intersection │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── js.txt │ │ │ ├── api │ │ │ │ ├── IS_IE.mdx │ │ │ │ ├── CONVEYER_METHODS.mdx │ │ │ │ ├── ConveyerItem.mdx │ │ │ │ ├── OnFinishScroll.mdx │ │ │ │ ├── isString.mdx │ │ │ │ └── FindItemOptions.mdx │ │ │ └── examples │ │ │ │ ├── HorizontalScroll.mdx │ │ │ │ └── VerticalScroll.mdx │ │ ├── version-1.8.0 │ │ │ ├── codes │ │ │ │ ├── SideWheel │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── svelte.txt │ │ │ │ ├── HorizontalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ ├── svelte.txt │ │ │ │ │ └── vue.txt │ │ │ │ ├── ReactiveProperties │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ └── angularHTML.txt │ │ │ │ ├── VerticalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── svelte.txt │ │ │ │ ├── InfiniteScroll │ │ │ │ │ └── html.txt │ │ │ │ ├── Methods │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── js.txt │ │ │ │ └── Intersection │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── js.txt │ │ │ ├── api │ │ │ │ ├── IS_IE.mdx │ │ │ │ ├── CONVEYER_METHODS.mdx │ │ │ │ ├── ConveyerItem.mdx │ │ │ │ ├── OnFinishScroll.mdx │ │ │ │ ├── isString.mdx │ │ │ │ └── FindItemOptions.mdx │ │ │ └── examples │ │ │ │ ├── HorizontalScroll.mdx │ │ │ │ └── VerticalScroll.mdx │ │ ├── version-1.0.2 │ │ │ ├── codes │ │ │ │ ├── HorizontalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ ├── svelte.txt │ │ │ │ │ └── vue.txt │ │ │ │ ├── ReactiveProperties │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ └── angularHTML.txt │ │ │ │ ├── VerticalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── svelte.txt │ │ │ │ ├── InfiniteScroll │ │ │ │ │ └── html.txt │ │ │ │ └── Methods │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ └── angularComponent.txt │ │ │ ├── api │ │ │ │ ├── IS_IE.mdx │ │ │ │ ├── CONVEYER_METHODS.mdx │ │ │ │ ├── OnFinishScroll.mdx │ │ │ │ ├── ConveyerItem.mdx │ │ │ │ ├── FindItemOptions.mdx │ │ │ │ └── isString.mdx │ │ │ └── examples │ │ │ │ ├── HorizontalScroll.mdx │ │ │ │ └── VerticalScroll.mdx │ │ ├── version-1.1.0 │ │ │ ├── codes │ │ │ │ ├── HorizontalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ ├── svelte.txt │ │ │ │ │ └── vue.txt │ │ │ │ ├── ReactiveProperties │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ └── angularHTML.txt │ │ │ │ ├── VerticalScroll │ │ │ │ │ ├── angularComponent.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ └── svelte.txt │ │ │ │ ├── InfiniteScroll │ │ │ │ │ └── html.txt │ │ │ │ └── Methods │ │ │ │ │ ├── html.txt │ │ │ │ │ ├── angularHTML.txt │ │ │ │ │ ├── js.txt │ │ │ │ │ └── angularComponent.txt │ │ │ ├── api │ │ │ │ ├── IS_IE.mdx │ │ │ │ ├── CONVEYER_METHODS.mdx │ │ │ │ ├── OnFinishScroll.mdx │ │ │ │ ├── ConveyerItem.mdx │ │ │ │ ├── FindItemOptions.mdx │ │ │ │ └── isString.mdx │ │ │ └── examples │ │ │ │ ├── HorizontalScroll.mdx │ │ │ │ └── VerticalScroll.mdx │ │ └── version-1.2.0 │ │ │ ├── codes │ │ │ ├── HorizontalScroll │ │ │ │ ├── angularComponent.txt │ │ │ │ ├── js.txt │ │ │ │ ├── html.txt │ │ │ │ ├── angularHTML.txt │ │ │ │ ├── svelte.txt │ │ │ │ └── vue.txt │ │ │ ├── ReactiveProperties │ │ │ │ ├── angularComponent.txt │ │ │ │ ├── js.txt │ │ │ │ ├── html.txt │ │ │ │ └── angularHTML.txt │ │ │ ├── VerticalScroll │ │ │ │ ├── angularComponent.txt │ │ │ │ ├── js.txt │ │ │ │ ├── html.txt │ │ │ │ ├── angularHTML.txt │ │ │ │ └── svelte.txt │ │ │ ├── InfiniteScroll │ │ │ │ └── html.txt │ │ │ └── Methods │ │ │ │ ├── html.txt │ │ │ │ ├── angularHTML.txt │ │ │ │ ├── js.txt │ │ │ │ └── angularComponent.txt │ │ │ ├── api │ │ │ ├── IS_IE.mdx │ │ │ ├── CONVEYER_METHODS.mdx │ │ │ ├── OnFinishScroll.mdx │ │ │ ├── ConveyerItem.mdx │ │ │ ├── FindItemOptions.mdx │ │ │ └── isString.mdx │ │ │ └── examples │ │ │ ├── HorizontalScroll.mdx │ │ │ └── VerticalScroll.mdx │ ├── versions.json │ ├── babel.config.js │ ├── src │ │ └── pages │ │ │ └── index.jsx │ ├── .gitignore │ ├── webpack.js │ ├── plugin │ │ └── glslify.js │ └── sidebars.js ├── ngx-conveyer │ ├── src │ │ ├── assets │ │ │ └── .gitkeep │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── main.ts │ │ └── test.ts │ ├── .prettierrc │ ├── README.md │ ├── projects │ │ └── ngx-conveyer │ │ │ ├── src │ │ │ ├── public-api.ts │ │ │ ├── lib │ │ │ │ ├── ngx-conveyer.module.ts │ │ │ │ ├── ngx-conveyer.interface.ts │ │ │ │ └── consts.ts │ │ │ └── test.ts │ │ │ ├── ng-package.json │ │ │ ├── tsconfig.lib.prod.json │ │ │ ├── tsconfig.spec.json │ │ │ ├── tsconfig.lib.json │ │ │ └── package.json │ ├── .editorconfig │ ├── tsconfig.app.json │ └── tsconfig.spec.json ├── conveyer │ ├── .eslintignore │ ├── global.d.ts │ ├── src │ │ ├── browser.ts │ │ ├── index.ts │ │ ├── index.cjs.ts │ │ ├── index.umd.ts │ │ └── consts.ts │ ├── tsconfig.declaration.json │ ├── tsconfig.test.json │ ├── .npmignore │ └── tsconfig.json ├── vue-conveyer │ ├── .browserslistrc │ ├── src │ │ ├── vue-conveyer │ │ │ └── index.ts │ │ ├── assets │ │ │ └── logo.png │ │ ├── main.ts │ │ └── shims-vue.d.ts │ ├── babel.config.js │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ ├── tsconfig.build.json │ ├── .gitignore │ ├── tsconfig.declaration.json │ └── .eslintrc.js ├── vue2-conveyer │ ├── .browserslistrc │ ├── .npmignore │ ├── src │ │ └── index.ts │ ├── demo │ │ ├── shims-vue.d.ts │ │ └── index.ts │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ ├── .editorconfig │ └── tsconfig.declaration.json ├── react-conveyer │ ├── src │ │ ├── react-app-env.d.ts │ │ ├── react-conveyer │ │ │ ├── index.tsx │ │ │ └── useConveyer.ts │ │ ├── setupTests.ts │ │ ├── index.tsx │ │ ├── App.test.tsx │ │ └── index.css │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ ├── logo192.png │ │ ├── logo512.png │ │ └── manifest.json │ ├── .gitignore │ ├── tsconfig.declaration.json │ └── tsconfig.json └── svelte-conveyer │ ├── .gitignore │ ├── src │ ├── svelte-conveyer │ │ ├── index.ts │ │ └── types.ts │ └── main.js │ ├── public │ ├── favicon.png │ └── index.html │ ├── global.d.ts │ ├── tsconfig.declaration.json │ └── tsconfig.json ├── pnpm-workspace.yaml ├── .github ├── PULL_REQUEST_TEMPLATE.md └── ISSUE_TEMPLATE.md ├── jsdoc-to-mdx.json └── .editorconfig /packages/docs/static/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/SideWheel/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/HorizontalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/VerticalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/conveyer/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist/ 3 | *.js 4 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/ReactiveProperties/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/SideWheel/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/SideWheel/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/SideWheel/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/SideWheel/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/SideWheel/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/vue-conveyer/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /packages/vue2-conveyer/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /packages/vue2-conveyer/.npmignore: -------------------------------------------------------------------------------- 1 | .storybook 2 | stories/ 3 | vue3/ 4 | public/ 5 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/HorizontalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/ReactiveProperties/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/VerticalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/HorizontalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/ReactiveProperties/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/VerticalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/HorizontalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/ReactiveProperties/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/VerticalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/HorizontalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/ReactiveProperties/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/VerticalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/HorizontalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/ReactiveProperties/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/VerticalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/HorizontalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/ReactiveProperties/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/VerticalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/HorizontalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/ReactiveProperties/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/VerticalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/HorizontalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/ReactiveProperties/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/VerticalScroll/angularComponent.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/react-conveyer/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /packages/svelte-conveyer/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /public/build/ 3 | 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - "packages/*" 3 | - "packages/ngx-conveyer/projects/ngx-conveyer" -------------------------------------------------------------------------------- /packages/svelte-conveyer/src/svelte-conveyer/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./useConveyer"; 2 | export * from "./types"; 3 | -------------------------------------------------------------------------------- /packages/vue2-conveyer/src/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @namespace VueConveyer 3 | */ 4 | export * from "./useConveyer"; 5 | -------------------------------------------------------------------------------- /packages/docs/static/img/grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/docs/static/img/grid.png -------------------------------------------------------------------------------- /packages/docs/static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/docs/static/img/logo.png -------------------------------------------------------------------------------- /packages/ngx-conveyer/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /packages/react-conveyer/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /packages/docs/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/docs/static/img/favicon.ico -------------------------------------------------------------------------------- /packages/ngx-conveyer/README.md: -------------------------------------------------------------------------------- 1 | # @egjs/ngx-conveyer 2 | 3 | See [readme](./projects/ngx-conveyer/README.md) for more info. 4 | -------------------------------------------------------------------------------- /packages/vue-conveyer/src/vue-conveyer/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @namespace VueConveyer 3 | */ 4 | export * from "./useConveyer"; 5 | -------------------------------------------------------------------------------- /packages/conveyer/global.d.ts: -------------------------------------------------------------------------------- 1 | declare module "!!raw-loader!*" { 2 | const content: string; 3 | export default content; 4 | } 5 | -------------------------------------------------------------------------------- /packages/docs/static/img/FrameGrid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/docs/static/img/FrameGrid.png -------------------------------------------------------------------------------- /packages/ngx-conveyer/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/ngx-conveyer/src/favicon.ico -------------------------------------------------------------------------------- /packages/vue-conveyer/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset' 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /packages/docs/static/img/MasonryGrid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/docs/static/img/MasonryGrid.png -------------------------------------------------------------------------------- /packages/docs/static/img/PackingGrid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/docs/static/img/PackingGrid.png -------------------------------------------------------------------------------- /packages/react-conveyer/src/react-conveyer/index.tsx: -------------------------------------------------------------------------------- 1 | /** 2 | * @namespace ReactConveyer 3 | */ 4 | export * from "./useConveyer"; 5 | -------------------------------------------------------------------------------- /packages/vue-conveyer/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/vue-conveyer/public/favicon.ico -------------------------------------------------------------------------------- /packages/vue-conveyer/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/vue-conveyer/src/assets/logo.png -------------------------------------------------------------------------------- /packages/vue2-conveyer/demo/shims-vue.d.ts: -------------------------------------------------------------------------------- 1 | declare module "*.vue" { 2 | import Vue from "vue"; 3 | export default Vue; 4 | } 5 | -------------------------------------------------------------------------------- /packages/vue2-conveyer/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/vue2-conveyer/public/favicon.ico -------------------------------------------------------------------------------- /packages/docs/docs/codes/HorizontalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | -------------------------------------------------------------------------------- /packages/docs/static/img/JustifiedGrid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/docs/static/img/JustifiedGrid.png -------------------------------------------------------------------------------- /packages/docs/static/img/scrollIntoView1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/docs/static/img/scrollIntoView1.png -------------------------------------------------------------------------------- /packages/docs/static/img/scrollIntoView2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/docs/static/img/scrollIntoView2.png -------------------------------------------------------------------------------- /packages/docs/static/img/titlelogo.afdesign: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/docs/static/img/titlelogo.afdesign -------------------------------------------------------------------------------- /packages/react-conveyer/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/react-conveyer/public/favicon.ico -------------------------------------------------------------------------------- /packages/react-conveyer/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/react-conveyer/public/logo192.png -------------------------------------------------------------------------------- /packages/react-conveyer/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/react-conveyer/public/logo512.png -------------------------------------------------------------------------------- /packages/svelte-conveyer/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/svelte-conveyer/public/favicon.png -------------------------------------------------------------------------------- /packages/vue-conveyer/src/main.ts: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue' 2 | import App from './App.vue' 3 | 4 | createApp(App).mount('#app') 5 | -------------------------------------------------------------------------------- /packages/docs/static/img/infinitegrid_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naver/egjs-conveyer/main/packages/docs/static/img/infinitegrid_logo.png -------------------------------------------------------------------------------- /packages/vue-conveyer/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig", 3 | "compilerOptions": { 4 | "jsx": "react" 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/HorizontalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/HorizontalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/HorizontalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/HorizontalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/HorizontalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/HorizontalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/HorizontalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/HorizontalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/SideWheel/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | useSideWheel: true, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/VerticalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versions.json: -------------------------------------------------------------------------------- 1 | [ 2 | "1.8.0", 3 | "1.7.1", 4 | "1.6.2", 5 | "1.4.7", 6 | "1.3.1", 7 | "1.2.0", 8 | "1.1.0", 9 | "1.0.2" 10 | ] 11 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Issue 2 | 3 | 4 | ## Details 5 | 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/SideWheel/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | useSideWheel: true, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/SideWheel/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | useSideWheel: true, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/SideWheel/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | useSideWheel: true, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/SideWheel/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | useSideWheel: true, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/SideWheel/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | useSideWheel: true, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/VerticalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/VerticalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/VerticalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/VerticalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/VerticalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/VerticalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/VerticalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/VerticalScroll/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | -------------------------------------------------------------------------------- /packages/vue-conveyer/src/shims-vue.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.vue' { 2 | import type { DefineComponent } from 'vue' 3 | const component: DefineComponent<{}, {}, any> 4 | export default component 5 | } 6 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | 3 | 4 | ## Steps to check or reproduce 5 | 6 | -------------------------------------------------------------------------------- /packages/docs/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [require.resolve('@docusaurus/core/lib/babel/preset')], 3 | plugins: [ 4 | ["@babel/plugin-proposal-decorators", { "legacy": true }] 5 | ] 6 | }; 7 | -------------------------------------------------------------------------------- /packages/svelte-conveyer/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte'; 2 | 3 | const app = new App({ 4 | target: document.body, 5 | props: { 6 | name: 'world', 7 | }, 8 | }); 9 | 10 | export default app; 11 | -------------------------------------------------------------------------------- /packages/vue2-conveyer/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /packages/svelte-conveyer/global.d.ts: -------------------------------------------------------------------------------- 1 | declare module "!!raw-loader!*" { 2 | const content: string; 3 | export default content; 4 | } 5 | declare module "*.svelte" { 6 | const content: any; 7 | export default content; 8 | } 9 | -------------------------------------------------------------------------------- /packages/docs/src/pages/index.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | 4 | import Main from "./Main"; 5 | 6 | import "@site/src/css/index.css"; 7 | 8 | export default () => { 9 | return ( 10 |
11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/arrow_right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/InfiniteScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
8 | -------------------------------------------------------------------------------- /jsdoc-to-mdx.json: -------------------------------------------------------------------------------- 1 | { 2 | "locales": ["ko"], 3 | "outDir": "./packages/docs/docs/api", 4 | "localesDir": "./packages/docs/i18n/{locale}/docusaurus-plugin-content-docs/current/api", 5 | "sidebar": "./packages/docs", 6 | "jsdoc": "./jsdoc.json" 7 | } 8 | -------------------------------------------------------------------------------- /packages/vue2-conveyer/demo/index.ts: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import VueCompositionAPI from '@vue/composition-api'; 3 | import App from './App.vue'; 4 | 5 | Vue.use(VueCompositionAPI); 6 | new Vue({ 7 | render: (h: any) => h(App), 8 | }).$mount('#app'); 9 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/InfiniteScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
8 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/InfiniteScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
8 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/InfiniteScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
8 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/InfiniteScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
8 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/InfiniteScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
8 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/InfiniteScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
8 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/InfiniteScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
8 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/InfiniteScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
8 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/projects/ngx-conveyer/src/public-api.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Public API Surface of ngx-conveyer 3 | */ 4 | 5 | export * from './lib/ngx-conveyer.directive'; 6 | export * from './lib/ngx-conveyer.interface'; 7 | export * from './lib/ngx-conveyer.module'; 8 | -------------------------------------------------------------------------------- /packages/conveyer/src/browser.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * egjs-conveyer 3 | * Copyright (c) 2022-present NAVER Corp. 4 | * MIT license 5 | */ 6 | export const IS_IE = /msie|trident/g.test( 7 | (typeof window !== "undefined" && window?.navigator?.userAgent?.toLowerCase()) || "", 8 | ); 9 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/api/IS_IE.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const IS_IE 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/api/IS_IE.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const IS_IE 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/api/IS_IE.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const IS_IE 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/api/IS_IE.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const IS_IE 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/api/IS_IE.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const IS_IE 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/api/IS_IE.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const IS_IE 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/api/IS_IE.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const IS_IE 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/api/IS_IE.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const IS_IE 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/api/CONVEYER_METHODS.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const CONVEYER_METHODS 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/api/CONVEYER_METHODS.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const CONVEYER_METHODS 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/api/CONVEYER_METHODS.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const CONVEYER_METHODS 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/api/CONVEYER_METHODS.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const CONVEYER_METHODS 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/api/CONVEYER_METHODS.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const CONVEYER_METHODS 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/api/CONVEYER_METHODS.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const CONVEYER_METHODS 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/api/CONVEYER_METHODS.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const CONVEYER_METHODS 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/api/CONVEYER_METHODS.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | const CONVEYER_METHODS 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | -------------------------------------------------------------------------------- /packages/react-conveyer/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/api/OnFinishScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |isDragScroll|boolean|| 14 | |isTrusted|boolean|| 15 | 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/api/OnFinishScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |isDragScroll|boolean|| 14 | |isTrusted|boolean|| 15 | 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/api/OnFinishScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |isDragScroll|boolean|| 14 | |isTrusted|boolean|| 15 | 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/api/OnFinishScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |isDragScroll|boolean|| 14 | |isTrusted|boolean|| 15 | 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/api/OnFinishScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |isDragScroll|boolean|| 14 | |isTrusted|boolean|| 15 | 16 | -------------------------------------------------------------------------------- /packages/conveyer/src/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * egjs-conveyer 3 | * Copyright (c) 2022-present NAVER Corp. 4 | * MIT license 5 | */ 6 | import Conveyer from "./Conveyer"; 7 | 8 | export default Conveyer; 9 | 10 | export * from "./consts"; 11 | export * from "./types"; 12 | export * from "./reactive"; 13 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/grid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/react-conveyer/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import './index.css'; 4 | import App from './App'; 5 | 6 | ReactDOM.render( 7 | 8 | 9 | , 10 | document.getElementById('root') 11 | ); 12 | 13 | -------------------------------------------------------------------------------- /packages/conveyer/src/index.cjs.ts: -------------------------------------------------------------------------------- 1 | import Conveyer, * as modules from './index'; 2 | 3 | for (const name in modules) { 4 | (Conveyer as any)[name] = (modules as any)[name]; 5 | } 6 | 7 | declare const module: any; 8 | module.exports = Conveyer; 9 | export default Conveyer; 10 | export * from './index'; 11 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/README.md: -------------------------------------------------------------------------------- 1 | Icons are from: 2 | - https://fonts.google.com/icons under [Apache License v2.0](https://github.com/google/material-design-icons/blob/master/LICENSE) 3 | - https://simpleicons.org under [CC0 1.0 Universal](https://github.com/simple-icons/simple-icons/blob/develop/LICENSE.md) 4 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/api/ConveyerItem.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |element|HTMLElement \| null|| 14 | |pos|number|| 15 | |size|number|| 16 | 17 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/api/ConveyerItem.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |element|HTMLElement \| null|| 14 | |pos|number|| 15 | |size|number|| 16 | 17 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/api/ConveyerItem.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |element|HTMLElement \| null|| 14 | |pos|number|| 15 | |size|number|| 16 | 17 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/api/ConveyerItem.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |element|HTMLElement \| null|| 14 | |pos|number|| 15 | |size|number|| 16 | 17 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/api/ConveyerItem.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |element|HTMLElement \| null|| 14 | |pos|number|| 15 | |size|number|| 16 | 17 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/api/ConveyerItem.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |element|HTMLElement \| null|| 14 | |pos|number|| 15 | |size|number|| 16 | 17 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/api/ConveyerItem.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |element|HTMLElement \| null|| 14 | |pos|number|| 15 | |size|number|| 16 | 17 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/api/ConveyerItem.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |element|HTMLElement \| null|| 14 | |pos|number|| 15 | |size|number|| 16 | 17 | -------------------------------------------------------------------------------- /packages/conveyer/src/index.umd.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * egjs-conveyer 3 | * Copyright (c) 2022-present NAVER Corp. 4 | * MIT license 5 | */ 6 | import Conveyer, * as modules from "./index"; 7 | 8 | for (const name in modules) { 9 | (Conveyer as any)[name] = (modules as any)[name]; 10 | } 11 | 12 | export default Conveyer; 13 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/loading.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | insert_final_newline = true 6 | trim_trailing_whitespace = true 7 | charset = utf-8 8 | end_of_line = lf 9 | indent_style = space 10 | indent_size = 2 11 | max_line_length = 80 12 | 13 | [{*.json,.travis.yml}] 14 | indent_style = space 15 | indent_size = 2 16 | -------------------------------------------------------------------------------- /packages/svelte-conveyer/src/svelte-conveyer/types.ts: -------------------------------------------------------------------------------- 1 | import type { REACTIVE_CONVEYER } from "@egjs/conveyer"; 2 | import { Ref, SvelteReactiveAdapterResult } from "@cfcs/svelte"; 3 | 4 | export interface SvelteConveyerResult extends Ref, SvelteReactiveAdapterResult { 5 | ref: Ref; 6 | } 7 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/projects/ngx-conveyer/src/lib/ngx-conveyer.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | 3 | import { NgxConveyerDirective } from './ngx-conveyer.directive'; 4 | 5 | @NgModule({ 6 | declarations: [NgxConveyerDirective], 7 | exports: [NgxConveyerDirective], 8 | }) 9 | export class NgxConveyerModule {} 10 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/projects/ngx-conveyer/ng-package.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../node_modules/ng-packagr/ng-package.schema.json", 3 | "dest": "../../dist/ngx-conveyer", 4 | "lib": { 5 | "entryFile": "src/public-api.ts" 6 | }, 7 | "allowedNonPeerDependencies": [ 8 | "@egjs/conveyer", 9 | "@cfcs/angular" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/projects/ngx-conveyer/tsconfig.lib.prod.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.lib.json", 4 | "compilerOptions": { 5 | "declarationMap": false 6 | }, 7 | "angularCompilerOptions": { 8 | "compilationMode": "partial" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/conveyer/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig", 3 | "compilerOptions": { 4 | "removeComments": false, 5 | "declaration": true, 6 | "emitDeclarationOnly": true, 7 | "declarationDir": "declaration", 8 | "strictNullChecks": false, 9 | }, 10 | "include": [ 11 | "./src/**/*.ts", 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/books.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/react-conveyer/src/App.test.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { render, screen } from '@testing-library/react'; 3 | import App from './App'; 4 | 5 | test('renders learn react link', () => { 6 | render(); 7 | const linkElement = screen.getByText(/learn react/i); 8 | expect(linkElement).toBeInTheDocument(); 9 | }); 10 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/css3.svg: -------------------------------------------------------------------------------- 1 | CSS3 -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/api/OnFinishScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |isWheelScroll|boolean|| 14 | |isDragScroll|boolean|| 15 | |isAnimationScroll|boolean|| 16 | |isTrusted|boolean|| 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/api/OnFinishScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |isWheelScroll|boolean|| 14 | |isDragScroll|boolean|| 15 | |isAnimationScroll|boolean|| 16 | |isTrusted|boolean|| 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/api/OnFinishScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |isWheelScroll|boolean|| 14 | |isDragScroll|boolean|| 15 | |isAnimationScroll|boolean|| 16 | |isTrusted|boolean|| 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/download.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/vue2-conveyer/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig", 3 | "compilerOptions": { 4 | "removeComments": true, 5 | "declaration": true, 6 | "emitDeclarationOnly": true, 7 | "declarationDir": "declaration" 8 | }, 9 | "include": [ 10 | "src/**/*.ts", 11 | "src/**/*.tsx", 12 | "src/**/*.vue" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /packages/vue-conveyer/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | 6 | # local env files 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | pnpm-debug.log* 15 | 16 | # Editor directories and files 17 | .idea 18 | .vscode 19 | *.suo 20 | *.ntvs* 21 | *.njsproj 22 | *.sln 23 | *.sw? 24 | -------------------------------------------------------------------------------- /packages/docs/.gitignore: -------------------------------------------------------------------------------- 1 | # Dependencies 2 | /node_modules 3 | 4 | # Production 5 | /build 6 | 7 | # Generated files 8 | .docusaurus 9 | .cache-loader 10 | /i18n/ko 11 | /docs/api 12 | 13 | # Misc 14 | .DS_Store 15 | .env.local 16 | .env.development.local 17 | .env.test.local 18 | .env.production.local 19 | 20 | npm-debug.log* 21 | yarn-debug.log* 22 | yarn-error.log* 23 | 24 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see https://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.ts] 12 | quote_type = single 13 | 14 | [*.md] 15 | max_line_length = off 16 | trim_trailing_whitespace = false 17 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/placeholder.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/app", 6 | "types": [] 7 | }, 8 | "files": [ 9 | "src/main.ts", 10 | "src/polyfills.ts" 11 | ], 12 | "include": [ 13 | "src/**/*.d.ts" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NgxConveyerProject 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/api/FindItemOptions.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |hitTest|number|

size ratio to find items. (default: 1)

| 14 | |sibling|number|

The number of items next to the item's index to return. (default: 0)

| 15 | 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/api/FindItemOptions.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |hitTest|number|

size ratio to find items. (default: 1)

| 14 | |sibling|number|

The number of items next to the item's index to return. (default: 0)

| 15 | 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/api/FindItemOptions.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |hitTest|number|

size ratio to find items. (default: 1)

| 14 | |sibling|number|

The number of items next to the item's index to return. (default: 0)

| 15 | 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/api/FindItemOptions.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |hitTest|number|

size ratio to find items. (default: 1)

| 14 | |sibling|number|

The number of items next to the item's index to return. (default: 0)

| 15 | 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/api/FindItemOptions.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DESCRIPTION| 12 | |:---:|:---:|:---:| 13 | |hitTest|number|

size ratio to find items. (default: 1)

| 14 | |sibling|number|

The number of items next to the item's index to return. (default: 0)

| 15 | 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/api/isString.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | function isString(val: any) 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | **Returns**: val is string 16 | 17 | |PARAMETER|TYPE|OPTIONAL|DEFAULT|DESCRIPTION| 18 | |:---:|:---:|:---:|:---:|:---:| 19 | |val|any|||| 20 | 21 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/api/isString.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | function isString(val: any) 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | **Returns**: val is string 16 | 17 | |PARAMETER|TYPE|OPTIONAL|DEFAULT|DESCRIPTION| 18 | |:---:|:---:|:---:|:---:|:---:| 19 | |val|any|||| 20 | 21 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/api/isString.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | function isString(val: any) 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | **Returns**: val is string 16 | 17 | |PARAMETER|TYPE|OPTIONAL|DEFAULT|DESCRIPTION| 18 | |:---:|:---:|:---:|:---:|:---:| 19 | |val|any|||| 20 | 21 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/api/isString.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | function isString(val: any) 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | **Returns**: val is string 16 | 17 | |PARAMETER|TYPE|OPTIONAL|DEFAULT|DESCRIPTION| 18 | |:---:|:---:|:---:|:---:|:---:| 19 | |val|any|||| 20 | 21 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/api/isString.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | function isString(val: any) 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | **Returns**: val is string 16 | 17 | |PARAMETER|TYPE|OPTIONAL|DEFAULT|DESCRIPTION| 18 | |:---:|:---:|:---:|:---:|:---:| 19 | |val|any|||| 20 | 21 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/api/isString.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | function isString(val: any) 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | **Returns**: val is string 16 | 17 | |PARAMETER|TYPE|OPTIONAL|DEFAULT|DESCRIPTION| 18 | |:---:|:---:|:---:|:---:|:---:| 19 | |val|any|||| 20 | 21 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/api/isString.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | function isString(val: any) 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | **Returns**: val is string 16 | 17 | |PARAMETER|TYPE|OPTIONAL|DEFAULT|DESCRIPTION| 18 | |:---:|:---:|:---:|:---:|:---:| 19 | |val|any|||| 20 | 21 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/api/isString.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 | ```ts 6 | function isString(val: any) 7 | ``` 8 | 9 |
10 | 11 |
12 | 13 |

egjs-conveyer
Copyright (c) 2022-present NAVER Corp.
MIT license

14 | 15 | **Returns**: val is string 16 | 17 | |PARAMETER|TYPE|OPTIONAL|DEFAULT|DESCRIPTION| 18 | |:---:|:---:|:---:|:---:|:---:| 19 | |val|any|||| 20 | 21 | -------------------------------------------------------------------------------- /packages/svelte-conveyer/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig", 3 | "compilerOptions": { 4 | "allowJs": false, 5 | "noEmit": false, 6 | "isolatedModules": false, 7 | "removeComments": true, 8 | "declaration": true, 9 | "emitDeclarationOnly": true, 10 | "declarationDir": "declaration" 11 | }, 12 | "include": ["src/svelte-conveyer/**/*.ts"], 13 | "exclude": ["node_modules"], 14 | } 15 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/projects/ngx-conveyer/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "../../tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "../../out-tsc/spec", 6 | "types": [ 7 | "jasmine" 8 | ] 9 | }, 10 | "files": [ 11 | "src/test.ts" 12 | ], 13 | "include": [ 14 | "**/*.spec.ts", 15 | "**/*.d.ts" 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /packages/react-conveyer/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/star.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/spec", 6 | "types": [ 7 | "jasmine" 8 | ] 9 | }, 10 | "files": [ 11 | "src/test.ts", 12 | "src/polyfills.ts" 13 | ], 14 | "include": [ 15 | "src/**/*.spec.ts", 16 | "src/**/*.d.ts" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /packages/vue-conveyer/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig", 3 | "compilerOptions": { 4 | "allowJs": false, 5 | "noEmit": false, 6 | "isolatedModules": false, 7 | "removeComments": true, 8 | "declaration": true, 9 | "emitDeclarationOnly": true, 10 | "declarationDir": "declaration" 11 | }, 12 | "include": [ 13 | "./src/vue-conveyer/**/*" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /packages/docs/webpack.js: -------------------------------------------------------------------------------- 1 | const path = require("path"); 2 | 3 | module.exports = function (context, options) { 4 | return { 5 | name: 'custom-docusaurus-plugin', 6 | configureWebpack(config, isServer, utils) { 7 | return { 8 | resolve: { 9 | alias: { 10 | // "@egjs/infinitegrid": path.resolve(__dirname, '../dist/infinitegrid.esm.js'), 11 | }, 12 | } 13 | }; 14 | }, 15 | }; 16 | }; 17 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/projects/ngx-conveyer/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "../../tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "../../out-tsc/lib", 6 | "declaration": true, 7 | "declarationMap": true, 8 | "inlineSources": true, 9 | "types": [] 10 | }, 11 | "exclude": [ 12 | "src/test.ts", 13 | "**/*.spec.ts" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /packages/react-conveyer/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /packages/react-conveyer/tsconfig.declaration.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig", 3 | "compilerOptions": { 4 | "allowJs": false, 5 | "noEmit": false, 6 | "isolatedModules": false, 7 | "removeComments": true, 8 | "declaration": true, 9 | "emitDeclarationOnly": true, 10 | "declarationDir": "declaration" 11 | }, 12 | "include": [ 13 | "./src/react-conveyer/**/*" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/projects/ngx-conveyer/src/lib/ngx-conveyer.interface.ts: -------------------------------------------------------------------------------- 1 | import { Directive } from '@angular/core'; 2 | import { REACTIVE_CONVEYER } from '@egjs/conveyer'; 3 | import { ReactiveAdapterResult } from '@cfcs/angular'; 4 | 5 | @Directive() 6 | export class NgxConveyerInterface {} 7 | 8 | // automatic reactive state, methods types 9 | export interface NgxConveyerInterface 10 | extends ReactiveAdapterResult {} 11 | -------------------------------------------------------------------------------- /packages/conveyer/tsconfig.test.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig", 3 | "compilerOptions": { 4 | "module": "commonjs", 5 | "noImplicitAny": false, 6 | "strictNullChecks": false, 7 | "types": [ 8 | "karma-chai", 9 | "mocha", 10 | "resize-observer-browser" 11 | ] 12 | }, 13 | "include": [ 14 | "./src/**/*.ts", 15 | "./test/unit/**/*.ts" 16 | ], 17 | "exclude": [ 18 | "./node_modules/**/*.ts" 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/SideWheel/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/VerticalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/HorizontalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/plugin/glslify.js: -------------------------------------------------------------------------------- 1 | module.exports = function(context, options) { 2 | return { 3 | name: "docusaurus-plugin-glslify", 4 | configureWebpack() { 5 | return { 6 | module: { 7 | rules: [ 8 | { 9 | test: /\.(glsl|vs|fs|vert|frag)$/, 10 | exclude: /node_modules/, 11 | use: ["raw-loader", "glslify-loader"] 12 | } 13 | ] 14 | } 15 | }; 16 | } 17 | }; 18 | }; 19 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/projects/ngx-conveyer/src/lib/consts.ts: -------------------------------------------------------------------------------- 1 | import { CONVEYER_EVENTS } from '@egjs/conveyer'; 2 | import { AngularEventsOutputs } from '@cfcs/angular'; 3 | 4 | // auto 5 | // eslint-disable-next-line max-len 6 | export const ANGULAR_CONVEYER_EVENTS = ["ngxReachStart: reachStart", "ngxReachEnd: reachEnd", "ngxLeaveStart: leaveStart", "ngxLeaveEnd: leaveEnd", "ngxBeginScroll: beginScroll", "ngxFinishScroll: finishScroll"] as AngularEventsOutputs; 7 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/HorizontalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/ReactiveProperties/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | 5 | const prev = document.querySelector(".prev"); 6 | const next = document.querySelector(".next"); 7 | 8 | // subscribe reactive properties 9 | conveyer.subscribe("isReachStart", (isReachStart) => { 10 | prev.disabled = isReachStart; 11 | }); 12 | 13 | conveyer.subscribe("isReachEnd", (isReachEnd) => { 14 | next.disabled = isReachEnd; 15 | }); 16 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/vue.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/SideWheel/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/SideWheel/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/SideWheel/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/SideWheel/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/SideWheel/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/vue-conveyer/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { 4 | node: true 5 | }, 6 | 'extends': [ 7 | 'plugin:vue/vue3-essential', 8 | 'eslint:recommended', 9 | '@vue/typescript/recommended' 10 | ], 11 | parserOptions: { 12 | ecmaVersion: 2020 13 | }, 14 | rules: { 15 | 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 16 | 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off' 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/HorizontalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/VerticalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/HorizontalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/VerticalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/HorizontalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/VerticalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/HorizontalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/VerticalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/HorizontalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/VerticalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/HorizontalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/VerticalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/HorizontalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/VerticalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/HorizontalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/VerticalScroll/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/svelte-conveyer/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Svelte app 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/SideWheel/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/VerticalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/HorizontalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/ReactiveProperties/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | 5 | const prev = document.querySelector(".prev"); 6 | const next = document.querySelector(".next"); 7 | 8 | // subscribe reactive properties 9 | conveyer.subscribe("isReachStart", (isReachStart) => { 10 | prev.disabled = isReachStart; 11 | }); 12 | 13 | conveyer.subscribe("isReachEnd", (isReachEnd) => { 14 | next.disabled = isReachEnd; 15 | }); 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/HorizontalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/ReactiveProperties/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | 5 | const prev = document.querySelector(".prev"); 6 | const next = document.querySelector(".next"); 7 | 8 | // subscribe reactive properties 9 | conveyer.subscribe("isReachStart", (isReachStart) => { 10 | prev.disabled = isReachStart; 11 | }); 12 | 13 | conveyer.subscribe("isReachEnd", (isReachEnd) => { 14 | next.disabled = isReachEnd; 15 | }); 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/HorizontalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/ReactiveProperties/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | 5 | const prev = document.querySelector(".prev"); 6 | const next = document.querySelector(".next"); 7 | 8 | // subscribe reactive properties 9 | conveyer.subscribe("isReachStart", (isReachStart) => { 10 | prev.disabled = isReachStart; 11 | }); 12 | 13 | conveyer.subscribe("isReachEnd", (isReachEnd) => { 14 | next.disabled = isReachEnd; 15 | }); 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/HorizontalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/ReactiveProperties/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | 5 | const prev = document.querySelector(".prev"); 6 | const next = document.querySelector(".next"); 7 | 8 | // subscribe reactive properties 9 | conveyer.subscribe("isReachStart", (isReachStart) => { 10 | prev.disabled = isReachStart; 11 | }); 12 | 13 | conveyer.subscribe("isReachEnd", (isReachEnd) => { 14 | next.disabled = isReachEnd; 15 | }); 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/HorizontalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/ReactiveProperties/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | 5 | const prev = document.querySelector(".prev"); 6 | const next = document.querySelector(".next"); 7 | 8 | // subscribe reactive properties 9 | conveyer.subscribe("isReachStart", (isReachStart) => { 10 | prev.disabled = isReachStart; 11 | }); 12 | 13 | conveyer.subscribe("isReachEnd", (isReachEnd) => { 14 | next.disabled = isReachEnd; 15 | }); 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/HorizontalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/ReactiveProperties/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | 5 | const prev = document.querySelector(".prev"); 6 | const next = document.querySelector(".next"); 7 | 8 | // subscribe reactive properties 9 | conveyer.subscribe("isReachStart", (isReachStart) => { 10 | prev.disabled = isReachStart; 11 | }); 12 | 13 | conveyer.subscribe("isReachEnd", (isReachEnd) => { 14 | next.disabled = isReachEnd; 15 | }); 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/HorizontalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/ReactiveProperties/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | 5 | const prev = document.querySelector(".prev"); 6 | const next = document.querySelector(".next"); 7 | 8 | // subscribe reactive properties 9 | conveyer.subscribe("isReachStart", (isReachStart) => { 10 | prev.disabled = isReachStart; 11 | }); 12 | 13 | conveyer.subscribe("isReachEnd", (isReachEnd) => { 14 | next.disabled = isReachEnd; 15 | }); 16 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/HorizontalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/ReactiveProperties/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items"); 4 | 5 | const prev = document.querySelector(".prev"); 6 | const next = document.querySelector(".next"); 7 | 8 | // subscribe reactive properties 9 | conveyer.subscribe("isReachStart", (isReachStart) => { 10 | prev.disabled = isReachStart; 11 | }); 12 | 13 | conveyer.subscribe("isReachEnd", (isReachEnd) => { 14 | next.disabled = isReachEnd; 15 | }); 16 | -------------------------------------------------------------------------------- /packages/docs/sidebars.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | started: [ 3 | "installation", 4 | "quick-start", 5 | "use-the-methods", 6 | "listen-to-events", 7 | "subscribe-to-reactive-properties", 8 | ], 9 | "examples": [ 10 | "examples/HorizontalScroll", 11 | "examples/VerticalScroll", 12 | "examples/Properties", 13 | "examples/Methods", 14 | "examples/Intersection", 15 | "examples/InfiniteScroll", 16 | "examples/SideWheel", 17 | ], 18 | ...require("./sidebars-api.js") 19 | }; 20 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/favorite.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/task_alt.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/SideWheel/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/SideWheel/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/SideWheel/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/SideWheel/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/SideWheel/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/VerticalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/VerticalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/VerticalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/VerticalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/VerticalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/VerticalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/VerticalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/VerticalScroll/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 |
1
4 |
2
5 |
3
6 |
4
7 |
5
8 |
6
9 |
7
10 |
8
11 |
9
12 |
10
13 |
14 |
15 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/src/test.ts: -------------------------------------------------------------------------------- 1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files 2 | 3 | import 'zone.js/testing'; 4 | import { getTestBed } from '@angular/core/testing'; 5 | import { 6 | BrowserDynamicTestingModule, 7 | platformBrowserDynamicTesting 8 | } from '@angular/platform-browser-dynamic/testing'; 9 | 10 | // First, initialize the Angular testing environment. 11 | getTestBed().initTestEnvironment( 12 | BrowserDynamicTestingModule, 13 | platformBrowserDynamicTesting(), 14 | ); 15 | -------------------------------------------------------------------------------- /packages/conveyer/.npmignore: -------------------------------------------------------------------------------- 1 | #configs 2 | config 3 | bower.json 4 | 5 | #tests 6 | test 7 | karma.conf.js 8 | 9 | #build tools 10 | webpack.*.js 11 | .travis.yml 12 | .codeclimate.yml 13 | 14 | #linters 15 | .eslintrc* 16 | 17 | #docs 18 | doc 19 | demo 20 | jsdoc.json 21 | README.md 22 | 23 | #editor settings 24 | .idea 25 | .editorconfig 26 | _site 27 | coverage/ 28 | node_modules/ 29 | .github 30 | .babelrc 31 | mocha.opts 32 | demo/ 33 | 34 | #packages 35 | packages 36 | 37 | 38 | #storybook 39 | .storybook 40 | storybook/ 41 | stories/ 42 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/projects/ngx-conveyer/src/test.ts: -------------------------------------------------------------------------------- 1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files 2 | 3 | import 'zone.js'; 4 | import 'zone.js/testing'; 5 | import { getTestBed } from '@angular/core/testing'; 6 | import { 7 | BrowserDynamicTestingModule, 8 | platformBrowserDynamicTesting 9 | } from '@angular/platform-browser-dynamic/testing'; 10 | 11 | // First, initialize the Angular testing environment. 12 | getTestBed().initTestEnvironment( 13 | BrowserDynamicTestingModule, 14 | platformBrowserDynamicTesting(), 15 | ); 16 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/Methods/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/Intersection/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/api/FindItemOptions.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DEFAULT|DESCRIPTION| 12 | |:---:|:---:|:---:|:---:| 13 | |hitTest|number|1|

size ratio to find items. Use it if padding inside the item plays the same role as margin or gap.

| 14 | |intersection|boolean|0|

Whether to include items that intersect on the side

| 15 | |sibling|number|0|

The number of items next to the item's index to return.

| 16 | 17 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/api/FindItemOptions.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DEFAULT|DESCRIPTION| 12 | |:---:|:---:|:---:|:---:| 13 | |hitTest|number|1|

size ratio to find items. Use it if padding inside the item plays the same role as margin or gap.

| 14 | |intersection|boolean|0|

Whether to include items that intersect on the side

| 15 | |sibling|number|0|

The number of items next to the item's index to return.

| 16 | 17 | -------------------------------------------------------------------------------- /packages/conveyer/src/consts.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * egjs-conveyer 3 | * Copyright (c) 2022-present NAVER Corp. 4 | * MIT license 5 | */ 6 | export const CONVEYER_METHODS = [ 7 | "update", 8 | "findElement", 9 | "findItem", 10 | "scrollBy", 11 | "scrollTo", 12 | "scrollIntoView", 13 | "setItems", 14 | "updateContainer", 15 | "updateItems", 16 | "init", 17 | "enableInput", 18 | "disableInput", 19 | ] as const; 20 | 21 | export const CONVEYER_EVENTS = [ 22 | "reachStart", 23 | "reachEnd", 24 | "leaveStart", 25 | "leaveEnd", 26 | "beginScroll", 27 | "finishScroll", 28 | ] as const; 29 | 30 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/ReactiveProperties/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/Methods/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/Methods/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/Methods/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/Methods/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/Methods/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/Methods/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/Methods/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/Methods/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/Intersection/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/Intersection/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/Intersection/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/ReactiveProperties/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/ReactiveProperties/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/ReactiveProperties/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/ReactiveProperties/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/ReactiveProperties/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/ReactiveProperties/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/HorizontalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 8 |
9 |
10 |
1
11 |
2
12 |
3
13 |
4
14 |
5
15 |
6
16 |
7
17 |
8
18 |
9
19 |
10
20 |
21 |
22 | -------------------------------------------------------------------------------- /packages/docs/docs/examples/HorizontalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Horizontal Scroll 3 | custom_edit_url: null 4 | --- 5 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 6 | import HorizontalScroll from "@site/src/examples/HorizontalScroll"; 7 | 8 | 9 | You can use drag-based scrolling with NativeScroll. 10 | 11 | 12 | |Property|Type|Description| 13 | |:---:|:---:|---| 14 | |[horizontal](/docs/api/ConveyerOptions)|boolean|scroll direction. (default: true)| 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/ReactiveProperties/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/ReactiveProperties/html.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/react-conveyer/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/extension.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/react-conveyer/src/react-conveyer/useConveyer.ts: -------------------------------------------------------------------------------- 1 | import { ConveyerOptions, REACTIVE_CONVEYER } from "@egjs/conveyer"; 2 | import { RefObject } from "react"; 3 | import { useReactive, ReactReactiveAdapterResult } from "@cfcs/react"; 4 | 5 | export interface ReactConveyerResult extends ReactReactiveAdapterResult { } 6 | 7 | export function useConveyer(ref: RefObject, props: ConveyerOptions = {}): ReactConveyerResult { 8 | return useReactive({ 9 | data() { 10 | return { 11 | container: ref, 12 | props, 13 | }; 14 | }, 15 | ...REACTIVE_CONVEYER, 16 | }); 17 | } 18 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/infinity.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/HorizontalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 8 |
9 |
10 |
1
11 |
2
12 |
3
13 |
4
14 |
5
15 |
6
16 |
7
17 |
8
18 |
9
19 |
10
20 |
21 |
22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/HorizontalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 8 |
9 |
10 |
1
11 |
2
12 |
3
13 |
4
14 |
5
15 |
6
16 |
7
17 |
8
18 |
9
19 |
10
20 |
21 |
22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/HorizontalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 8 |
9 |
10 |
1
11 |
2
12 |
3
13 |
4
14 |
5
15 |
6
16 |
7
17 |
8
18 |
9
19 |
10
20 |
21 |
22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/HorizontalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 8 |
9 |
10 |
1
11 |
2
12 |
3
13 |
4
14 |
5
15 |
6
16 |
7
17 |
8
18 |
9
19 |
10
20 |
21 |
22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/HorizontalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 8 |
9 |
10 |
1
11 |
2
12 |
3
13 |
4
14 |
5
15 |
6
16 |
7
17 |
8
18 |
9
19 |
10
20 |
21 |
22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/HorizontalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 8 |
9 |
10 |
1
11 |
2
12 |
3
13 |
4
14 |
5
15 |
6
16 |
7
17 |
8
18 |
9
19 |
10
20 |
21 |
22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/HorizontalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 8 |
9 |
10 |
1
11 |
2
12 |
3
13 |
4
14 |
5
15 |
6
16 |
7
17 |
8
18 |
9
19 |
10
20 |
21 |
22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/HorizontalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 8 |
9 |
10 |
1
11 |
2
12 |
3
13 |
4
14 |
5
15 |
6
16 |
7
17 |
8
18 |
9
19 |
10
20 |
21 |
22 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/SideWheel/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/VerticalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/examples/HorizontalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Horizontal Scroll 3 | custom_edit_url: null 4 | --- 5 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 6 | import HorizontalScroll from "@site/src/examples/HorizontalScroll"; 7 | 8 | 9 | You can use drag-based scrolling with NativeScroll. 10 | 11 | 12 | |Property|Type|Description| 13 | |:---:|:---:|---| 14 | |[horizontal](/docs/api/ConveyerOptions)|string|scroll direction. (default: true)| 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/examples/HorizontalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Horizontal Scroll 3 | custom_edit_url: null 4 | --- 5 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 6 | import HorizontalScroll from "@site/src/examples/HorizontalScroll"; 7 | 8 | 9 | You can use drag-based scrolling with NativeScroll. 10 | 11 | 12 | |Property|Type|Description| 13 | |:---:|:---:|---| 14 | |[horizontal](/docs/api/ConveyerOptions)|string|scroll direction. (default: true)| 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/examples/HorizontalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Horizontal Scroll 3 | custom_edit_url: null 4 | --- 5 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 6 | import HorizontalScroll from "@site/src/examples/HorizontalScroll"; 7 | 8 | 9 | You can use drag-based scrolling with NativeScroll. 10 | 11 | 12 | |Property|Type|Description| 13 | |:---:|:---:|---| 14 | |[horizontal](/docs/api/ConveyerOptions)|string|scroll direction. (default: true)| 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/examples/HorizontalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Horizontal Scroll 3 | custom_edit_url: null 4 | --- 5 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 6 | import HorizontalScroll from "@site/src/examples/HorizontalScroll"; 7 | 8 | 9 | You can use drag-based scrolling with NativeScroll. 10 | 11 | 12 | |Property|Type|Description| 13 | |:---:|:---:|---| 14 | |[horizontal](/docs/api/ConveyerOptions)|boolean|scroll direction. (default: true)| 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/examples/HorizontalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Horizontal Scroll 3 | custom_edit_url: null 4 | --- 5 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 6 | import HorizontalScroll from "@site/src/examples/HorizontalScroll"; 7 | 8 | 9 | You can use drag-based scrolling with NativeScroll. 10 | 11 | 12 | |Property|Type|Description| 13 | |:---:|:---:|---| 14 | |[horizontal](/docs/api/ConveyerOptions)|boolean|scroll direction. (default: true)| 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/examples/HorizontalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Horizontal Scroll 3 | custom_edit_url: null 4 | --- 5 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 6 | import HorizontalScroll from "@site/src/examples/HorizontalScroll"; 7 | 8 | 9 | You can use drag-based scrolling with NativeScroll. 10 | 11 | 12 | |Property|Type|Description| 13 | |:---:|:---:|---| 14 | |[horizontal](/docs/api/ConveyerOptions)|boolean|scroll direction. (default: true)| 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/examples/HorizontalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Horizontal Scroll 3 | custom_edit_url: null 4 | --- 5 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 6 | import HorizontalScroll from "@site/src/examples/HorizontalScroll"; 7 | 8 | 9 | You can use drag-based scrolling with NativeScroll. 10 | 11 | 12 | |Property|Type|Description| 13 | |:---:|:---:|---| 14 | |[horizontal](/docs/api/ConveyerOptions)|boolean|scroll direction. (default: true)| 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/examples/HorizontalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Horizontal Scroll 3 | custom_edit_url: null 4 | --- 5 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 6 | import HorizontalScroll from "@site/src/examples/HorizontalScroll"; 7 | 8 | 9 | You can use drag-based scrolling with NativeScroll. 10 | 11 | 12 | |Property|Type|Description| 13 | |:---:|:---:|---| 14 | |[horizontal](/docs/api/ConveyerOptions)|boolean|scroll direction. (default: true)| 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/Methods/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/Intersection/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/react-conveyer/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": [ 5 | "dom", 6 | "dom.iterable", 7 | "esnext" 8 | ], 9 | "allowJs": true, 10 | "skipLibCheck": true, 11 | "esModuleInterop": true, 12 | "allowSyntheticDefaultImports": true, 13 | "strict": true, 14 | "forceConsistentCasingInFileNames": true, 15 | "noFallthroughCasesInSwitch": true, 16 | "module": "esnext", 17 | "moduleResolution": "node", 18 | "resolveJsonModule": true, 19 | "isolatedModules": true, 20 | "noEmit": true, 21 | "jsx": "react-jsx" 22 | }, 23 | "include": [ 24 | "src" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/VerticalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/VerticalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/VerticalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/SideWheel/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/VerticalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/SideWheel/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/VerticalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/SideWheel/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/VerticalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/SideWheel/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/VerticalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/SideWheel/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/VerticalScroll/svelte.txt: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 |
1
13 |
2
14 |
3
15 |
4
16 |
5
17 |
6
18 |
7
19 |
8
20 |
9
21 |
10
22 |
23 |
24 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/Methods/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/Methods/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/Methods/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/Methods/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/Methods/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/Methods/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/Methods/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/Methods/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/Methods/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | excludeStand: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/Intersection/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/Intersection/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/Intersection/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/Intersection/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | intersection: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | intersection: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/ReactiveProperties/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/vue-conveyer/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | <%= htmlWebpackPlugin.options.title %> 9 | 10 | 11 | 14 |
15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /packages/vue2-conveyer/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | <%= htmlWebpackPlugin.options.title %> 9 | 10 | 11 | 14 |
15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/Methods/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | excludeStand: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/Methods/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | excludeStand: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/Methods/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | excludeStand: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/Methods/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | excludeStand: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/Methods/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | excludeStand: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/Methods/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | excludeStand: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/Methods/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | excludeStand: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/Methods/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | excludeStand: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/docs/docs/examples/VerticalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Veritcal Scroll 3 | custom_edit_url: null 4 | --- 5 | 6 | You can use drag-based scrolling with NativeScroll. 7 | 8 | If the horizontal option is set to false, vertical scrolling is possible. 9 | 10 | |Property|Type|Description| 11 | |:---:|:---:|---| 12 | |[horizontal](/docs/api/ConveyerOptions)|boolean|scroll direction. (default: true)| 13 | 14 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 15 | import VerticalScroll from "@site/src/examples/VerticalScroll"; 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/Intersection/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | intersection: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | intersection: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/Intersection/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | intersection: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | intersection: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/Intersection/js.txt: -------------------------------------------------------------------------------- 1 | import Conveyer from "@egjs/conveyer"; 2 | 3 | const conveyer = new Conveyer(".items", { 4 | horizontal: false, 5 | }); 6 | 7 | const prev = document.querySelector(".prev"); 8 | const next = document.querySelector(".next"); 9 | 10 | // scrollIntoView 11 | prev.addEventListener("click", () => { 12 | // start to end 13 | conveyer.scrollIntoView("start", { 14 | align: "end", 15 | duration: 500, 16 | intersection: true, 17 | }); 18 | }); 19 | next.addEventListener("click", () => { 20 | // end to start 21 | conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | intersection: true, 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/conveyer/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "./outjs/", 4 | "sourceMap": true, 5 | "module": "es2015", 6 | "target": "es5", 7 | "strictNullChecks": true, 8 | "moduleResolution": "node", 9 | "experimentalDecorators": true, 10 | "skipLibCheck": true, 11 | "jsx": "react", 12 | "lib": [ 13 | "es2015", 14 | "dom" 15 | ], 16 | "baseUrl": ".", 17 | "paths": { 18 | "conveyer/cfcs": [ 19 | "./cfcs" 20 | ] 21 | } 22 | }, 23 | "include": [ 24 | "./src/**/*.ts", 25 | "./test/unit/**/*.ts", 26 | "./stories/**/*.ts", 27 | "./global.d.ts" 28 | ], 29 | "exclude": [ 30 | "node_modules" 31 | ] 32 | } 33 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/reaction.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/ReactiveProperties/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/ReactiveProperties/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/ReactiveProperties/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/ReactiveProperties/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/ReactiveProperties/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/ReactiveProperties/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/ReactiveProperties/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/ReactiveProperties/angularHTML.txt: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
5
12 |
6
13 |
7
14 |
8
15 |
9
16 |
10
17 |
18 |
19 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/examples/VerticalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Veritcal Scroll 3 | custom_edit_url: null 4 | --- 5 | 6 | You can use drag-based scrolling with NativeScroll. 7 | 8 | If the horizontal option is set to false, vertical scrolling is possible. 9 | 10 | |Property|Type|Description| 11 | |:---:|:---:|---| 12 | |[horizontal](/docs/api/ConveyerOptions)|string|scroll direction. (default: true)| 13 | 14 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 15 | import VerticalScroll from "@site/src/examples/VerticalScroll"; 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/examples/VerticalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Veritcal Scroll 3 | custom_edit_url: null 4 | --- 5 | 6 | You can use drag-based scrolling with NativeScroll. 7 | 8 | If the horizontal option is set to false, vertical scrolling is possible. 9 | 10 | |Property|Type|Description| 11 | |:---:|:---:|---| 12 | |[horizontal](/docs/api/ConveyerOptions)|string|scroll direction. (default: true)| 13 | 14 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 15 | import VerticalScroll from "@site/src/examples/VerticalScroll"; 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/examples/VerticalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Veritcal Scroll 3 | custom_edit_url: null 4 | --- 5 | 6 | You can use drag-based scrolling with NativeScroll. 7 | 8 | If the horizontal option is set to false, vertical scrolling is possible. 9 | 10 | |Property|Type|Description| 11 | |:---:|:---:|---| 12 | |[horizontal](/docs/api/ConveyerOptions)|string|scroll direction. (default: true)| 13 | 14 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 15 | import VerticalScroll from "@site/src/examples/VerticalScroll"; 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/examples/VerticalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Veritcal Scroll 3 | custom_edit_url: null 4 | --- 5 | 6 | You can use drag-based scrolling with NativeScroll. 7 | 8 | If the horizontal option is set to false, vertical scrolling is possible. 9 | 10 | |Property|Type|Description| 11 | |:---:|:---:|---| 12 | |[horizontal](/docs/api/ConveyerOptions)|boolean|scroll direction. (default: true)| 13 | 14 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 15 | import VerticalScroll from "@site/src/examples/VerticalScroll"; 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/examples/VerticalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Veritcal Scroll 3 | custom_edit_url: null 4 | --- 5 | 6 | You can use drag-based scrolling with NativeScroll. 7 | 8 | If the horizontal option is set to false, vertical scrolling is possible. 9 | 10 | |Property|Type|Description| 11 | |:---:|:---:|---| 12 | |[horizontal](/docs/api/ConveyerOptions)|boolean|scroll direction. (default: true)| 13 | 14 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 15 | import VerticalScroll from "@site/src/examples/VerticalScroll"; 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/examples/VerticalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Veritcal Scroll 3 | custom_edit_url: null 4 | --- 5 | 6 | You can use drag-based scrolling with NativeScroll. 7 | 8 | If the horizontal option is set to false, vertical scrolling is possible. 9 | 10 | |Property|Type|Description| 11 | |:---:|:---:|---| 12 | |[horizontal](/docs/api/ConveyerOptions)|boolean|scroll direction. (default: true)| 13 | 14 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 15 | import VerticalScroll from "@site/src/examples/VerticalScroll"; 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/examples/VerticalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Veritcal Scroll 3 | custom_edit_url: null 4 | --- 5 | 6 | You can use drag-based scrolling with NativeScroll. 7 | 8 | If the horizontal option is set to false, vertical scrolling is possible. 9 | 10 | |Property|Type|Description| 11 | |:---:|:---:|---| 12 | |[horizontal](/docs/api/ConveyerOptions)|boolean|scroll direction. (default: true)| 13 | 14 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 15 | import VerticalScroll from "@site/src/examples/VerticalScroll"; 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/examples/VerticalScroll.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Veritcal Scroll 3 | custom_edit_url: null 4 | --- 5 | 6 | You can use drag-based scrolling with NativeScroll. 7 | 8 | If the horizontal option is set to false, vertical scrolling is possible. 9 | 10 | |Property|Type|Description| 11 | |:---:|:---:|---| 12 | |[horizontal](/docs/api/ConveyerOptions)|boolean|scroll direction. (default: true)| 13 | 14 | import ConveyerCodeTabs from "@site/docs/codes/ConveyerCodeTabs"; 15 | import VerticalScroll from "@site/src/examples/VerticalScroll"; 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/api/FindItemOptions.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | custom_edit_url: null 3 | --- 4 | 5 |
6 | 7 |
8 | 9 | **Type**: TSInterface 10 | 11 | |PROPERTY|TYPE|DEFAULT|DESCRIPTION| 12 | |:---:|:---:|:---:|:---:| 13 | |hitTest|number|1|

size ratio to find items. Use it if padding inside the item plays the same role as margin or gap.

| 14 | |intersection|boolean \| number|0|

A number indicating how much the items intersect on the side. (true is 1)



  • If 0, there is no intersect. The closer it is to 1, the greater the intersect distance.

| 15 | |sibling|number|0|

The number of items next to the item's index to return.

| 16 | 17 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/HorizontalScroll/vue.txt: -------------------------------------------------------------------------------- 1 | 17 | 30 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | // This file can be replaced during build by using the `fileReplacements` array. 2 | // `ng build` replaces `environment.ts` with `environment.prod.ts`. 3 | // The list of file replacements can be found in `angular.json`. 4 | 5 | export const environment = { 6 | production: false 7 | }; 8 | 9 | /* 10 | * For easier debugging in development mode, you can import the following file 11 | * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. 12 | * 13 | * This import should be commented out in production mode because it will have a negative impact 14 | * on performance if an error is thrown. 15 | */ 16 | // import 'zone.js/plugins/zone-error'; // Included with Angular CLI. 17 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/Methods/angularComponent.txt: -------------------------------------------------------------------------------- 1 | import { Component, Input } from '@angular/core'; 2 | import { NgxConveyerDirective } from 'ngx-conveyer'; 3 | 4 | @Component({ 5 | selector: 'app-root', 6 | templateUrl: './app.component.html', 7 | styleUrls: [ 8 | "./app.component.css", 9 | ], 10 | }) 11 | export class AppComponent { 12 | @ViewChild('conveyer', { static: false }) conveyer!: NgxConveyerDirective; 13 | prev() { 14 | this.conveyer.scrollIntoView("start", { 15 | align: "end", 16 | duration: 500, 17 | excludeStand: true, 18 | }); 19 | } 20 | next() { 21 | this.conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /packages/svelte-conveyer/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "./outjs/", 4 | "lib": [ 5 | "dom", 6 | "dom.iterable", 7 | "esnext" 8 | ], 9 | "allowJs": true, 10 | "skipLibCheck": true, 11 | "esModuleInterop": true, 12 | "allowSyntheticDefaultImports": true, 13 | "strict": true, 14 | "forceConsistentCasingInFileNames": true, 15 | "noFallthroughCasesInSwitch": true, 16 | "module": "esnext", 17 | "moduleResolution": "node", 18 | "resolveJsonModule": true, 19 | "isolatedModules": true, 20 | "noEmit": true, 21 | "experimentalDecorators": true 22 | }, 23 | "include": [ 24 | "./src/**/*.ts" 25 | ], 26 | "exclude": ["node_modules", "__sapper__/*", "public/*"] 27 | } 28 | -------------------------------------------------------------------------------- /packages/docs/docs/codes/Intersection/angularComponent.txt: -------------------------------------------------------------------------------- 1 | import { Component, Input } from '@angular/core'; 2 | import { NgxConveyerDirective } from 'ngx-conveyer'; 3 | 4 | @Component({ 5 | selector: 'app-root', 6 | templateUrl: './app.component.html', 7 | styleUrls: [ 8 | "./app.component.css", 9 | ], 10 | }) 11 | export class AppComponent { 12 | @ViewChild('conveyer', { static: false }) conveyer!: NgxConveyerDirective; 13 | prev() { 14 | this.conveyer.scrollIntoView("start", { 15 | align: "end", 16 | duration: 500, 17 | intersection: true, 18 | }); 19 | } 20 | next() { 21 | this.conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | intersection: true, 25 | }); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/nuxt.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/ngx-conveyer/projects/ngx-conveyer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@egjs/ngx-conveyer", 3 | "version": "1.8.0", 4 | "description": "Angular Conveyer adds Drag gestures to your Native Scroll.", 5 | "author": { 6 | "name": "NAVER Corp." 7 | }, 8 | "license": "MIT", 9 | "homepage": "https://github.com/naver/egjs-conveyer", 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/naver/egjs-conveyer" 13 | }, 14 | "keywords": [ 15 | "angular", 16 | "ngx", 17 | "scroll", 18 | "reactive", 19 | "hooks", 20 | "conveyer", 21 | "image", 22 | "video", 23 | "list", 24 | "drag" 25 | ], 26 | "dependencies": { 27 | "@cfcs/angular": "^0.1.1", 28 | "@egjs/conveyer": "~1.8.0" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/HorizontalScroll/vue.txt: -------------------------------------------------------------------------------- 1 | 17 | 30 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/HorizontalScroll/vue.txt: -------------------------------------------------------------------------------- 1 | 17 | 30 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/HorizontalScroll/vue.txt: -------------------------------------------------------------------------------- 1 | 17 | 30 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/HorizontalScroll/vue.txt: -------------------------------------------------------------------------------- 1 | 17 | 30 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.4.7/codes/HorizontalScroll/vue.txt: -------------------------------------------------------------------------------- 1 | 17 | 30 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.6.2/codes/HorizontalScroll/vue.txt: -------------------------------------------------------------------------------- 1 | 17 | 30 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.7.1/codes/HorizontalScroll/vue.txt: -------------------------------------------------------------------------------- 1 | 17 | 30 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.8.0/codes/HorizontalScroll/vue.txt: -------------------------------------------------------------------------------- 1 | 17 | 30 | -------------------------------------------------------------------------------- /packages/docs/static/img/icons/drag.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.0.2/codes/Methods/angularComponent.txt: -------------------------------------------------------------------------------- 1 | import { Component, Input } from '@angular/core'; 2 | import { NgxConveyerDirective } from 'ngx-conveyer'; 3 | 4 | @Component({ 5 | selector: 'app-root', 6 | templateUrl: './app.component.html', 7 | styleUrls: [ 8 | "./app.component.css", 9 | ], 10 | }) 11 | export class AppComponent { 12 | @ViewChild('conveyer', { static: false }) conveyer!: NgxConveyerDirective; 13 | prev() { 14 | this.conveyer.scrollIntoView("start", { 15 | align: "end", 16 | duration: 500, 17 | excludeStand: true, 18 | }); 19 | } 20 | next() { 21 | this.conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.1.0/codes/Methods/angularComponent.txt: -------------------------------------------------------------------------------- 1 | import { Component, Input } from '@angular/core'; 2 | import { NgxConveyerDirective } from 'ngx-conveyer'; 3 | 4 | @Component({ 5 | selector: 'app-root', 6 | templateUrl: './app.component.html', 7 | styleUrls: [ 8 | "./app.component.css", 9 | ], 10 | }) 11 | export class AppComponent { 12 | @ViewChild('conveyer', { static: false }) conveyer!: NgxConveyerDirective; 13 | prev() { 14 | this.conveyer.scrollIntoView("start", { 15 | align: "end", 16 | duration: 500, 17 | excludeStand: true, 18 | }); 19 | } 20 | next() { 21 | this.conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.2.0/codes/Methods/angularComponent.txt: -------------------------------------------------------------------------------- 1 | import { Component, Input } from '@angular/core'; 2 | import { NgxConveyerDirective } from 'ngx-conveyer'; 3 | 4 | @Component({ 5 | selector: 'app-root', 6 | templateUrl: './app.component.html', 7 | styleUrls: [ 8 | "./app.component.css", 9 | ], 10 | }) 11 | export class AppComponent { 12 | @ViewChild('conveyer', { static: false }) conveyer!: NgxConveyerDirective; 13 | prev() { 14 | this.conveyer.scrollIntoView("start", { 15 | align: "end", 16 | duration: 500, 17 | excludeStand: true, 18 | }); 19 | } 20 | next() { 21 | this.conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /packages/docs/versioned_docs/version-1.3.1/codes/Methods/angularComponent.txt: -------------------------------------------------------------------------------- 1 | import { Component, Input } from '@angular/core'; 2 | import { NgxConveyerDirective } from 'ngx-conveyer'; 3 | 4 | @Component({ 5 | selector: 'app-root', 6 | templateUrl: './app.component.html', 7 | styleUrls: [ 8 | "./app.component.css", 9 | ], 10 | }) 11 | export class AppComponent { 12 | @ViewChild('conveyer', { static: false }) conveyer!: NgxConveyerDirective; 13 | prev() { 14 | this.conveyer.scrollIntoView("start", { 15 | align: "end", 16 | duration: 500, 17 | excludeStand: true, 18 | }); 19 | } 20 | next() { 21 | this.conveyer.scrollIntoView("end", { 22 | align: "start", 23 | duration: 500, 24 | excludeStand: true, 25 | }); 26 | } 27 | } 28 | --------------------------------------------------------------------------------