UNPKG
@larva.io/webcomponents
Version:
latest (2.0.8)
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.2.1
1.2.0
1.1.26
1.1.25
1.1.24
1.1.23
1.1.22
1.1.21
1.1.20
1.1.19
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.31
0.1.30
0.1.28
0.1.27
0.1.26
0.1.25
0.1.24
0.1.22
0.1.21
0.1.20
0.1.19
0.1.18
0.1.16
0.1.15
0.1.14
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.19
0.0.18
0.0.17
0.0.16
0.0.14
0.0.12-ff4a83f61d1c1ea1fd32aef05560cf499af5ad3b
0.0.12-0be9077b48c55396c79907fb13ae1b58f2a728c3
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.1-alpha.11
0.0.1-alpha.10
0.0.1-alpha.9
0.0.1-alpha.8
0.0.1-alpha.6
0.0.1-alpha.5
0.0.1-alpha.4
0.0.1-alpha.3
0.0.1-alpha.2
Fentrica SmartUnits WebComponents package
fentrica.com
@larva.io/webcomponents
/
dist
/
types
/
utils
/
gesture
/
recognizers.d.ts
8 lines
(7 loc)
•
285 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
interface
PanRecognizer
{
start
(
x
:
number
,
y
:
number
):
void
;
detect
(
x
:
number
,
y
:
number
):
boolean
;
isGesture
():
boolean
;
getDirection
():
number
; }
export
declare
const
createPanRecognizer
:
(
direction
:
string
,
thresh
:
number
,
maxAngle
:
number
) =>
PanRecognizer
;