main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
428 bytes
|
Line | |
---|
1 | interface Options {
|
---|
2 | isPreventDefault?: boolean;
|
---|
3 | delay?: number;
|
---|
4 | }
|
---|
5 | declare const useLongPress: (callback: (e: TouchEvent | MouseEvent) => void, { isPreventDefault, delay }?: Options) => {
|
---|
6 | readonly onMouseDown: (e: any) => void;
|
---|
7 | readonly onTouchStart: (e: any) => void;
|
---|
8 | readonly onMouseUp: () => void;
|
---|
9 | readonly onMouseLeave: () => void;
|
---|
10 | readonly onTouchEnd: () => void;
|
---|
11 | };
|
---|
12 | export default useLongPress;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.