Skip to content

Commit abb4a74

Browse files
authored
Create debug-event.js
1 parent 3ae1cc4 commit abb4a74

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/**
2+
* @param {params} params
3+
* @param {api} params.api
4+
* @param {any} params.event
5+
* @param {any} params.imports
6+
* @param {ApiHelpers} params.helpers
7+
*/
8+
function handler({ api, event, helpers, imports }) {
9+
console.log(`DEBUG Event ${event.elementId} ${event.name}`, event);
10+
}

0 commit comments

Comments
 (0)