@daysnap/utils
Version:
103 lines (56 loc) • 1.89 kB
Markdown
[@daysnap/utils](../README.md) / [Exports](../modules.md) / SwipeHandlers
# Interface: SwipeHandlers
## Table of contents
### Properties
- [handleCancel](SwipeHandlers.md#handlecancel)
- [handleEnd](SwipeHandlers.md#handleend)
- [handleMove](SwipeHandlers.md#handlemove)
- [handleStart](SwipeHandlers.md#handlestart)
## Properties
### handleCancel
• **handleCancel**: () => `void`
#### Type declaration
▸ (): `void`
##### Returns
`void`
#### Defined in
[createSwipeHandlers.ts:29](https://github.com/daysnap/utils/blob/9ced15e/src/createSwipeHandlers.ts#L29)
___
### handleEnd
• **handleEnd**: (`event?`: [`SwipeHandlerEvent`](../modules.md#swipehandlerevent)) => `void`
#### Type declaration
▸ (`event?`): `void`
##### Parameters
| Name | Type |
| :------ | :------ |
| `event?` | [`SwipeHandlerEvent`](../modules.md#swipehandlerevent) |
##### Returns
`void`
#### Defined in
[createSwipeHandlers.ts:28](https://github.com/daysnap/utils/blob/9ced15e/src/createSwipeHandlers.ts#L28)
___
### handleMove
• **handleMove**: (`event`: [`SwipeHandlerEvent`](../modules.md#swipehandlerevent)) => `void`
#### Type declaration
▸ (`event`): `void`
##### Parameters
| Name | Type |
| :------ | :------ |
| `event` | [`SwipeHandlerEvent`](../modules.md#swipehandlerevent) |
##### Returns
`void`
#### Defined in
[createSwipeHandlers.ts:27](https://github.com/daysnap/utils/blob/9ced15e/src/createSwipeHandlers.ts#L27)
___
### handleStart
• **handleStart**: (`event`: [`SwipeHandlerEvent`](../modules.md#swipehandlerevent)) => `void`
#### Type declaration
▸ (`event`): `void`
##### Parameters
| Name | Type |
| :------ | :------ |
| `event` | [`SwipeHandlerEvent`](../modules.md#swipehandlerevent) |
##### Returns
`void`
#### Defined in
[createSwipeHandlers.ts:26](https://github.com/daysnap/utils/blob/9ced15e/src/createSwipeHandlers.ts#L26)