React滑动事件处理程序钩子

时间:2021-06-08 14:51:54
【文件属性】:
文件名称:React滑动事件处理程序钩子
文件大小:280KB
文件格式:ZIP
更新时间:2021-06-08 14:51:54
Awesome React Hooks React Swipeable React swipe 事件处理程序钩子 Github Pages Demo Api 使用钩子并设置您的 swipe(d) 处理程序。 const handlers = useSwipeable({ onSwiped: (eventData) => console.log("User Swiped!", eventData), ...config, }); 返回
【文件预览】:
react-swipeable-main
----.eslintrc(920B)
----docs()
--------README.md(8B)
----tsconfig.all.json(99B)
----package.json(3KB)
----__tests__()
--------__snapshots__()
--------useSwipeable.spec.tsx(19KB)
--------helpers()
----.github()
--------ISSUE_TEMPLATE()
--------workflows()
----.prettierignore(57B)
----LICENSE(1KB)
----CONTRIBUTING.md(3KB)
----src()
--------types.ts(2KB)
--------index.ts(9KB)
----tsconfig.test.json(70B)
----tsconfig.json(69B)
----tsconfig.base.json(455B)
----migration.md(2KB)
----examples()
--------css()
--------webpack.config.min.js(756B)
--------package.json(623B)
--------server.js(420B)
--------index.html(875B)
--------app()
--------tsconfig.json(484B)
--------index.tsx(209B)
--------webpack.config.js(1KB)
--------README.md(360B)
--------yarn.lock(172KB)
----.gitignore(94B)
----CHANGELOG.md(12KB)
----CODE_OF_CONDUCT.md(3KB)
----README.md(8KB)
----yarn.lock(420KB)
----.eslintignore(31B)
----.prettierrc.json(3B)

网友评论