-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#325] Implement useSwiper #340
Conversation
🚀 Storybook preview: https://662ab8588fe6aa0c0d6f3a10--cheerful-pothos-666fe1.netlify.app |
872d9bf
to
0e0f649
Compare
🚀 Storybook preview: https://662b3d3960fc3a662ee9941b--cheerful-pothos-666fe1.netlify.app |
0e0f649
to
21bd45f
Compare
🚀 Storybook preview: https://662b478049e63578e782e9fe--cheerful-pothos-666fe1.netlify.app |
21bd45f
to
f49b703
Compare
🚀 Storybook preview: https://662b47cf4110ce7906adb607--cheerful-pothos-666fe1.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다 👍
#325
Changes
Swiper 컴포넌트를 위한 useSwiper 훅입니다.
이해를 돕기위해 이미지와 주석을 상세히 작성했으니 확인 부탁드립니다.
시나리오
터치 start:
minOffsetX
계산터치 move:
minOffsetX
와maxOffsetX
안에 머무르도록 제한offsetX
업데이트 (newOffsetX
)터치 end:
MIN_SWIPE_REQUIRED
보다 움직였는지 확인