Skip to content

Commit

Permalink
website: update to docusaurus v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Aug 29, 2024
1 parent 60d04d1 commit 6d512e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/api-reference/pan.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const eventManager = new EventManager({
- `event` (string) - Name of the event. Default `'pan'`.
- `pointers` (number) - Required pointers. Default `1`.
- `threshold` (number) - Minimal pan distance required before recognizing. Default `10`.
- `direction` {InputDirection} - Direction of the panning. Default `InputDirection.All`.
- `direction` (InputDirection) - Direction of the panning. Default `InputDirection.All`.

## Events

Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/swipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const eventManager = new EventManager({
- `event` (string) - Name of the event. Default `'swipe'`.
- `pointers` (number) - Required pointers. Default `1`.
- `threshold` (number) - Minimal distance required before recognizing. Default `10`.
- `direction` {InputDirection} - Direction of the panning. Default `InputDirection.All`.
- `direction` (InputDirection) - Direction of the panning. Default `InputDirection.All`.
- `velocity` (number) - Minimal velocity required before recognizing, unit is in px per ms. Default `0.3`.

## Events
Expand Down
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"cheerio": "1.0.0-rc.9"
},
"dependencies": {
"@docusaurus/core": "^2.0.0",
"@vis.gl/docusaurus-website": "1.0.0-alpha.13",
"@docusaurus/core": "^3.0.0",
"@vis.gl/docusaurus-website": "1.0.0-alpha.18",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down

0 comments on commit 6d512e1

Please sign in to comment.