feat: Add mini map node events

# What's changed?

* Add events for mini map node click & dbl click
* Receives event + node as parameters
This commit is contained in:
Braks
2022-04-13 22:48:23 +02:00
parent dca6960086
commit e178a3ce44
6 changed files with 36 additions and 5 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
"scripts": {
"prepare": "ts-patch install -s",
"build": "vite build",
"types": "vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && shx rm -rf tmp && yarn lint:dist",
"types": "yarn prepare && vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && shx rm -rf tmp && yarn lint:dist",
"typedoc": "typedoc --tsconfig tsconfig.docs.json dist/index.d.ts --out typedocs",
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path ../.gitignore .",