hammer.js
멀티 터치 제스처를 위한 JavaScript 라이브러리 :// You can touch this
파일 탐색기
최종 버전 다운로드 (.zip)- mouse.js
- pointerevent.js
- singletouch.js
- touch.js
- touchmouse.js
- compute-delta-xy.js
- compute-input-data.js
- compute-interval-input-data.js
- create-input-instance.js
- get-angle.js
- get-center.js
- get-direction.js
- get-distance.js
- get-rotation.js
- get-scale.js
- get-velocity.js
- input-constructor.js
- input-consts.js
- input-handler.js
- simple-clone-input-data.js
- direction-str.js
- get-recognizer-by-name-if-manager.js
- recognizer-constructor.js
- recognizer-consts.js
- state-str.js
- attribute.js
- pan.js
- pinch.js
- press.js
- rotate.js
- swipe.js
- tap.js
- clean-touch-actions.js
- get-touchaction-props.js
- touchaction-constructor.js
- touchaction-Consts.js
- add-event-listeners.js
- assign.js
- bind-fn.js
- bool-or-fn.js
- deprecate.js
- each.js
- extend.js
- get-window-for-element.js
- has-parent.js
- if-undefined.js
- in-array.js
- in-str.js
- inherit.js
- invoke-array-arg.js
- merge.js
- prefixed.js
- remove-event-listeners.js
- set-timeout-context.js
- split-str.js
- to-array.js
- unique-array.js
- unique-id.js
- utils-consts.js
- .babelrc
- hammer.js
- main.js
- manager.js
- style.css
- compute_touch_action.html
- input.html
- log.html
- multiple.html
- nested.html
- simulator-googlemaps.html
- simulator.html
- touchaction.html
- visual.html
- utils.js
- test_pan.js
- test_pinch.js
- test_swipe.js
- index.html
- test_enable.js
- test_events.js
- test_gestures.js
- test_hammer.js
- test_jquery_plugin.js
- test_multiple_taps.js
- test_nested_gesture_recognizers.js
- test_propagation_bubble.js
- test_require_failure.js
- test_simultaneous_recognition.js
- test_utils.js
- .bowerrc
- .editorconfig
- .gitignore
- .jscsrc
- .jshintrc
- .travis.yml
- banner.ejs
- bower.json
- changelog.js
- CHANGELOG.md
- component.json
- CONTRIBUTING.md
- hammer.js
- hammer.min.js
- hammer.min.js.map
- hammer.min.map
- LICENSE.md
- package.json
- README.md
- rollup.config.js
- string-replace.js
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/hammerjs/hammer.js
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd hammer.js
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
npm install --save hammerjs
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
yarn add hammerjs
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
