westures-core 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +3 -14
- package/dist/index.js +1249 -22
- package/dist/index.js.map +1 -1
- package/package.json +30 -14
- package/src/Input.js +6 -2
- package/src/Region.js +40 -10
- package/src/State.js +39 -37
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.3.0
|
|
4
|
+
|
|
5
|
+
- Introduce "headless" mode, which allows westures to be run in a server environment.
|
|
6
|
+
|
|
7
|
+
## 1.2.0
|
|
8
|
+
|
|
9
|
+
- Switch to "parcel" from "parcel-bundler"
|
|
10
|
+
- Add a list of the PHASES to constants.js
|
|
11
|
+
- Provide Input.elapsedTime
|
|
12
|
+
- Provide Point2D.anglesTo()
|
|
13
|
+
|
|
3
14
|
## 1.1.0
|
|
4
15
|
|
|
5
16
|
- Switch to using pointer events by default, combined with setting touch-action:
|
package/README.md
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
# westures-core
|
|
2
2
|
|
|
3
|
-
[
|
|
8
|
-
](https://coveralls.io/github/mvanderkamp/westures-core?branch=master)
|
|
9
|
-
[
|
|
11
|
-
](https://codeclimate.com/github/mvanderkamp/westures-core/maintainability)
|
|
3
|
+
[](https://github.com/mvanderkamp/westures-core/actions/workflows/node.js.yml)
|
|
4
|
+
[](https://coveralls.io/github/mvanderkamp/westures-core?branch=main)
|
|
5
|
+
[](https://codeclimate.com/github/mvanderkamp/westures-core/maintainability)
|
|
12
6
|
|
|
13
7
|
Westures is a robust n-pointer multitouch gesture detection library for
|
|
14
8
|
JavaScript. This means that each gesture is be capable of working seamlessly as
|
|
@@ -111,11 +105,6 @@ Name | Description
|
|
|
111
105
|
constants | Constant values used throughout the engine
|
|
112
106
|
utils | Helpful utility functions
|
|
113
107
|
|
|
114
|
-
Here is a graph to help you understand the relationships between these classes:
|
|
115
|
-
|
|
116
|
-

|
|
118
|
-
|
|
119
108
|
## Basic Usage
|
|
120
109
|
|
|
121
110
|
- [Declaring a Region](#declaring-a-region)
|