@combos-fun/plugin-renderer-event 0.0.7 → 0.0.8
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/agent-skill.md +3 -8
- package/package.json +3 -3
package/agent-skill.md
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
# `@combos-fun/plugin-renderer-event` — Agent notes
|
|
2
2
|
|
|
3
|
-
Pointer / touch event input for the 2D pipeline via Pixi v8 interaction.
|
|
4
|
-
Provides hit-area shapes and a unified `tap` / `touchstart` / `touchmove` /
|
|
5
|
-
`touchend` event surface on the `Event` Component.
|
|
3
|
+
Pointer / touch event input for the 2D pipeline via Pixi v8 interaction. Provides hit-area shapes and a unified `tap` / `touchstart` / `touchmove` / `touchend` event surface on the `Event` Component.
|
|
6
4
|
|
|
7
5
|
## When to read
|
|
8
6
|
|
|
9
|
-
Read for any input task: tap detection, drag, swipe, hit-area shapes, or
|
|
10
|
-
when integrating with `plugin-a11y` (which forwards DOM clicks as Event
|
|
11
|
-
events).
|
|
7
|
+
Read for any input task: tap detection, drag, swipe, hit-area shapes, or when integrating with `plugin-a11y` (which forwards DOM clicks as Event events).
|
|
12
8
|
|
|
13
9
|
## Public API
|
|
14
10
|
|
|
@@ -45,8 +41,7 @@ import {
|
|
|
45
41
|
|
|
46
42
|
### Events emitted by the `Event` component
|
|
47
43
|
|
|
48
|
-
`touchstart`, `touchmove`, `touchend`, `tap`, `touchendoutside`,
|
|
49
|
-
`touchcancel`.
|
|
44
|
+
`touchstart`, `touchmove`, `touchend`, `tap`, `touchendoutside`, `touchcancel`.
|
|
50
45
|
|
|
51
46
|
Callback payload:
|
|
52
47
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@combos-fun/plugin-renderer-event",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "@combos-fun/plugin-renderer-event",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/plugin-renderer-event.esm.js",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"author": "sun668 <q947692259@gmail.com>",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"pixi.js": "^8.18.1",
|
|
35
|
-
"@combos-fun/plugin-renderer": "0.0.
|
|
36
|
-
"@combos-fun/engine": "0.0.
|
|
35
|
+
"@combos-fun/plugin-renderer": "0.0.8",
|
|
36
|
+
"@combos-fun/engine": "0.0.8"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "node ../../scripts/build-package.mjs"
|