better-scroll
:scroll: iscroll에서 영감을 받았으며, 더 많은 기능을 지원하고 더 나은 스크롤 성능을 제공합니다.
파일 탐색기
최종 버전 다운로드 (.zip)- ISSUE_TEMPLATE.md
- index.ts
- package.json
- README.md
- README_zh-CN.md
- index.ts
- Options.ts
- event.ts
- layout.ts
- index.spec.ts
- Options.spec.ts
- Animation.ts
- index.ts
- Transition.ts
- Animation.spec.ts
- index.spec.ts
- Transition.spec.ts
- Animation.ts
- Base.ts
- index.ts
- Transition.ts
- ActionsHandler.ts
- ActionsHandler.spec.ts
- ActionsHandler.ts
- Actions.ts
- Behavior.ts
- DirectionLock.ts
- Scroller.ts
- Actions.spec.ts
- Behavior.spec.ts
- createOptions.spec.ts
- DirectionLock.spec.ts
- Scroller.spec.ts
- Actions.ts
- Behavior.ts
- createOptions.ts
- DirectionLock.ts
- Scroller.ts
- index.ts
- index.spec.ts
- index.ts
- bubbling.spec.ts
- bubbling.ts
- compare.ts
- compat.ts
- typesHelper.ts
- BScroll.ts
- index.ts
- Instance.ts
- Options.ts
- package.json
- README.md
- README_zh-CN.md
- vue-example-build.js
- vue-webpack.conf.js
- github-light.css
- normalize.css
- reset.css
- stylesheet.css
- bs.ico
- pullup-pulldown-outnested.vue
- pullup-pulldown-slide.vue
- pullup-pulldown.vue
- slide-nested.vue
- default.vue
- dynamic-content.vue
- freescroll.vue
- horizontal-rotated.vue
- horizontal.vue
- specified-content.vue
- vertical-rotated.vue
- textarea.vue
- dinner.jpg
- galaxies1.png
- galaxies2.png
- minimap.vue
- parallax-scroll.vue
- stars.jpg
- message.json
- avatar0.jpg
- avatar1.jpg
- avatar2.jpg
- avatar3.jpg
- image0.jpg
- image1.jpg
- image10.jpg
- image11.jpg
- image12.jpg
- image13.jpg
- image14.jpg
- image15.jpg
- image16.jpg
- image17.jpg
- image18.jpg
- image19.jpg
- image2.jpg
- image20.jpg
- image21.jpg
- image22.jpg
- image23.jpg
- image24.jpg
- image25.jpg
- image26.jpg
- image27.jpg
- image28.jpg
- image29.jpg
- image3.jpg
- image30.jpg
- image31.jpg
- image32.jpg
- image33.jpg
- image34.jpg
- image35.jpg
- image36.jpg
- image37.jpg
- image38.jpg
- image39.jpg
- image4.jpg
- image40.jpg
- image41.jpg
- image42.jpg
- image43.jpg
- image44.jpg
- image45.jpg
- image46.jpg
- image47.jpg
- image48.jpg
- image49.jpg
- image5.jpg
- image50.jpg
- image51.jpg
- image52.jpg
- image53.jpg
- image54.jpg
- image55.jpg
- image56.jpg
- image57.jpg
- image58.jpg
- image59.jpg
- image6.jpg
- image60.jpg
- image61.jpg
- image62.jpg
- image63.jpg
- image64.jpg
- image65.jpg
- image66.jpg
- image67.jpg
- image68.jpg
- image69.jpg
- image7.jpg
- image70.jpg
- image71.jpg
- image72.jpg
- image73.jpg
- image74.jpg
- image75.jpg
- image76.jpg
- image8.jpg
- image9.jpg
- unknown.jpg
- default.vue
- horizontal-scroll.vue
- horizontal-slide.vue
- picker.vue
- pulldown.vue
- pullup.vue
- vertical-scroll.vue
- vertical-slide.vue
- default.vue
- ftstr.png
- multi-content-scale.vue
- multi-content.vue
- oasis_one.png
- oasis_two.png
- qos_crop.png
- scale.vue
- horizontal-in-vertical.vue
- horizontal.vue
- triple-vertical.vue
- vertical.vue
- default.vue
- cabin.webp
- default.vue
- home.webp
- stone.webp
- zoo.webp
- double-column.vue
- linkage-column.vue
- one-column.vue
- default.vue
- sina-weibo.vue
- default.vue
- custom.vue
- girl.jpg
- horizontal.vue
- mousewheel.vue
- sad-girl.jpg
- vertical.vue
- banner.vue
- dynamic.vue
- fullpage.vue
- specified-index.vue
- vertical.vue
- default.vue
- good.svg
- compose-entry.vue
- core-entry.vue
- form-entry.vue
- indicators-entry.vue
- infinity-entry.vue
- mouse-wheel-entry.vue
- movable-entry.vue
- nested-scroll-entry.vue
- observe-dom-entry.vue
- observe-image-entry.vue
- picker-entry.vue
- pulldown-entry.vue
- pullup-entry.vue
- scrollbar-entry.vue
- slide-entry.vue
- zoom-entry.vue
- index.js
- App.vue
- index.html
- main.js
- package.json
- postcss.config.js
- README.md
- vue-release.sh
- indicator.ts
- index.spec.ts
- indicator.spec.ts
- index.ts
- indicator.ts
- types.ts
- package.json
- README.md
- README_zh-CN.md
- constans.ts
- FakeList.ts
- DataManager.spec.ts
- IndexCalculator.spec.ts
- DataManager.ts
- DomManager.ts
- index.ts
- IndexCalculator.ts
- Tombstone.ts
- package.json
- README.md
- README_zh-CN.md
- index.spec.ts
- index.ts
- package.json
- README.md
- README_zh-CN.md
- index.spec.ts
- index.ts
- propertiesConfig.ts
- package.json
- README.md
- README_zh-CN.md
- index.spec.ts
- BScrollFamily.ts
- index.ts
- propertiesConfig.ts
- package.json
- README.md
- index.spec.ts
- index.ts
- package.json
- README.md
- README_zh-CN.md
- index.spec.ts
- index.ts
- package.json
- README.md
- README_zh-CN.md
- index.spec.ts
- index.ts
- propertiesConfig.ts
- package.json
- README.md
- README_zh-CN.md
- index.spec.ts
- index.ts
- propertiesConfig.ts
- package.json
- README.md
- README_zh-CN.md
- github-light.css
- normalize.css
- reset.css
- stylesheet.css
- favicon.ico
- index.html
- pullup-pulldown-outnested.js
- pullup-pulldown-slide.js
- pullup-pulldown.js
- slide-nested.js
- index.js
- index.styl
- default.js
- dynamic-content.js
- freescroll.js
- horizontal-rotated.js
- horizontal.js
- specified-content.js
- vertical-rotated.js
- index.js
- index.styl
- textarea.js
- index.js
- index.styl
- dinner.jpg
- galaxies1.png
- galaxies2.png
- minimap.js
- parallax-scroll.js
- stars.jpg
- index.js
- index.styl
- message.json
- avatar0.jpg
- avatar1.jpg
- avatar2.jpg
- avatar3.jpg
- image0.jpg
- image1.jpg
- image10.jpg
- image11.jpg
- image12.jpg
- image13.jpg
- image14.jpg
- image15.jpg
- image16.jpg
- image17.jpg
- image18.jpg
- image19.jpg
- image2.jpg
- image20.jpg
- image21.jpg
- image22.jpg
- image23.jpg
- image24.jpg
- image25.jpg
- image26.jpg
- image27.jpg
- image28.jpg
- image29.jpg
- image3.jpg
- image30.jpg
- image31.jpg
- image32.jpg
- image33.jpg
- image34.jpg
- image35.jpg
- image36.jpg
- image37.jpg
- image38.jpg
- image39.jpg
- image4.jpg
- image40.jpg
- image41.jpg
- image42.jpg
- image43.jpg
- image44.jpg
- image45.jpg
- image46.jpg
- image47.jpg
- image48.jpg
- image49.jpg
- image5.jpg
- image50.jpg
- image51.jpg
- image52.jpg
- image53.jpg
- image54.jpg
- image55.jpg
- image56.jpg
- image57.jpg
- image58.jpg
- image59.jpg
- image6.jpg
- image60.jpg
- image61.jpg
- image62.jpg
- image63.jpg
- image64.jpg
- image65.jpg
- image66.jpg
- image67.jpg
- image68.jpg
- image69.jpg
- image7.jpg
- image70.jpg
- image71.jpg
- image72.jpg
- image73.jpg
- image74.jpg
- image75.jpg
- image76.jpg
- image8.jpg
- image9.jpg
- unknown.jpg
- index.js
- index.styl
- horizontal-scroll.js
- horizontal-slide.js
- picker.js
- pulldown.js
- pullup.js
- vertical-scroll.js
- vertical-slide.js
- index.js
- index.styl
- default.js
- ftstr.png
- multi-content-scale.js
- multi-content.js
- oasis_one.png
- oasis_two.png
- qos_crop.png
- scale.js
- index.js
- index.styl
- horizontal-in-vertical.js
- horizontal.js
- triple-vertical.js
- vertical.js
- index.js
- index.styl
- default.js
- index.js
- index.styl
- default.js
- index.js
- index.styl
- double-column.js
- linkage-column.js
- one-column.js
- index.js
- index.styl
- default.js
- sina-weibo.js
- index.js
- index.styl
- default.js
- index.js
- index.styl
- custom.js
- girl.jpg
- horizontal.js
- mousewheel.js
- sad-girl.jpg
- vertical.js
- index.js
- index.styl
- banner.js
- dynamic.js
- fullpage.js
- specified-index.js
- vertical.js
- index.js
- index.styl
- default.js
- good.svg
- index.js
- index.styl
- App.js
- index.js
- index.styl
- reportWebVitals.js
- router.js
- setupTests.js
- .env
- config-overrides.js
- package.json
- README.md
- event-handler.ts
- indicator.ts
- index.spec.ts.snap
- event-handler.spec.ts
- index.spec.ts
- indicator.spec.ts
- event-handler.ts
- index.ts
- indicator.ts
- package.json
- README.md
- README_zh-CN.md
- dom.ts
- ease.ts
- debug.spec.ts
- dom.spec.ts
- ease.spec.ts
- events.spec.ts
- lang.spec.ts
- propertiesProxy.spec.ts
- raf.spec.ts
- debug.ts
- dom.ts
- ease.ts
- enums.ts
- env.ts
- events.ts
- index.ts
- lang.ts
- propertiesProxy.ts
- raf.ts
- Touch.ts
- types.ts
- package.json
- README.md
- PagesMatrix.ts
- SlidePages.ts
- index.spec.ts
- PagesMatrix.spec.ts
- SlidePages.spec.ts
- constants.ts
- index.ts
- PagesMatrix.ts
- propertiesConfig.ts
- SlidePages.ts
- package.json
- README.md
- README_zh-CN.md
- demo.vue
- qrcode.vue
- en-US.js
- zh-CN.js
- extract-code.js
- qrcode.png
- schematic.png
- slide-pageindex.png
- tip1.png
- tip2.png
- index.styl
- bs.ico
- FAQ.js
- guide.js
- plugins.js
- config.js
- enhanceApp.js
- diagnosis.md
- README.md
- base-scroll-api.md
- base-scroll-options.md
- base-scroll.md
- how-to-install.md
- README.md
- use.md
- how-to-write.md
- indicators.md
- infinity.md
- mouse-wheel.md
- movable.md
- nested-scroll.md
- observe-dom.md
- observe-image.md
- pulldown.md
- pullup.md
- README.md
- scroll-bar.md
- slide.md
- wheel.md
- zoom.md
- README.md
- diagnosis.md
- README.md
- base-scroll-api.md
- base-scroll-options.md
- base-scroll.md
- how-to-install.md
- README.md
- use.md
- compose-plugins.md
- how-to-write.md
- indicators.md
- infinity.md
- mouse-wheel.md
- movable.md
- nested-scroll.md
- observe-dom.md
- observe-image.md
- pulldown.md
- pullup.md
- README.md
- scroll-bar.md
- slide.md
- wheel.md
- zoom.md
- README.md
- docs-release.sh
- package.json
- index.spec.ts
- index.ts
- propertiesConfig.ts
- package.json
- README.md
- README_zh-CN.md
- util.ts
- index.spec.ts
- index.ts
- propertiesConfig.ts
- package.json
- README.md
- README_zh-CN.md
- build.js
- checkYarn.js
- release.js
- core.test-d.ts
- index.d.ts
- plugin.test-d.ts
- tsconfig.json
- util.d.ts
- index.d.ts
- compose-plugins.e2e.ts
- pullup-pulldown-nested.e2e.ts
- pullup-pulldown-slide.e2e.ts
- pullup-pulldown.e2e.ts
- slide-nested.e2e.ts
- corescroll.e2e.ts
- textarea.e2e.ts
- minimap.e2e.ts
- parallax-scrolling.e2e.ts
- infinity.e2e.ts
- mousewheel.e2e.ts
- default.e2e.ts
- multi-content-scale.e2e.ts
- multi-content.e2e.ts
- scaled.e2e.ts
- horizontal-in-vertical.e2e.ts
- horizontal.e2e.ts
- triple-vertical.e2e.ts
- vertical.e2e.ts
- observe-dom.e2e.ts
- observe-image.e2e.ts
- double-column.e2e.ts
- linkage-column.e2e.ts
- one-column.e2e.ts
- default.e2e.ts
- sina.e2e.ts
- default.e2e.ts
- custom.e2e.ts
- horizontal.e2e.ts
- mousewheel.e2e.ts
- vertical.e2e.ts
- banner.e2e.ts
- dynamic.e2e.ts
- fullpage.e2e.ts
- specifiedIndex.e2e.ts
- vertical.e2e.ts
- zoom.e2e.ts
- homepage.e2e.ts
- extendMouseWheel.ts
- extendTouch.ts
- getScale.ts
- getTranslate.ts
- .editorconfig
- .eslintrc.js
- .gitignore
- .gitpod.Dockerfile
- .gitpod.yml
- .huskyrc.json
- .npmignore
- .travis.yml
- .yarnrc
- jest-e2e.config.js
- jest-puppeteer.config.js
- jest.config.js
- lerna.json
- LICENSE
- logo.svg
- package.json
- postcss.config.js
- README.md
- README_zh-CN.md
- tsconfig.json
- tslint.json
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/ustbhuangyi/better-scroll
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd better-scroll
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
npm install better-scroll -S # install 2.x,with full-featured plugin.
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm install @better-scroll/core # only CoreScroll
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
