varletjs / varlet

A mobile component library based on Vue3, Material Design 2, Material Design 3, and supports desktop development.
https://varlet.pages.dev
MIT License
4.81k stars 602 forks source link

feat(swipe): support keyboard arrowLeft and arrowRight #1659

Closed chouchouji closed 3 weeks ago

chouchouji commented 4 weeks ago

Checklist

List of tasks you have already done and plan to do.

Change information

Describe your modifications here.

Issues

The issues you want to close, formatted as close #1.

Related Links

Links related to this pr.

vercel[bot] commented 4 weeks ago

@chouchouji is attempting to deploy a commit to the varletjs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 4 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
varlet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 7, 2024 1:23pm
chouchouji commented 4 weeks ago

@haoziqaq 我看swiperjs没有做节流处理

image

https://github.com/nolimits4web/swiper/blob/master/src/modules/keyboard/keyboard.mjs#L19

haoziqaq commented 4 weeks ago

那暂时按照目前的设计

---Original--- From: @.> Date: Fri, Jun 7, 2024 10:39 AM To: @.>; Cc: @.**@.>; Subject: Re: [varletjs/varlet] WIP(swipe): support keyboard arrowLeft andarrowRight (PR #1659)

@haoziqaq 我看swiper这里没有做节流 image.png (view on web)

https://github.com/nolimits4web/swiper/blob/master/src/modules/keyboard/keyboard.mjs#L19

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

chouchouji commented 3 weeks ago

那暂时按照目前的设计 ---Original--- From: @.> Date: Fri, Jun 7, 2024 10:39 AM To: @.>; Cc: @.**@.>; Subject: Re: [varletjs/varlet] WIP(swipe): support keyboard arrowLeft andarrowRight (PR #1659) @haoziqaq 我看swiper这里没有做节流 image.png (view on web) https://github.com/nolimits4web/swiper/blob/master/src/modules/keyboard/keyboard.mjs#L19 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

ok,我晚上补充一下测试用例