Skip to content

Commit

Permalink
update native-event-vue
Browse files Browse the repository at this point in the history
  • Loading branch information
nruffing committed Jan 6, 2024
1 parent 8462b8b commit 317bed2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib/DragonDropVue.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { type App } from 'vue'
import type { DragonDropVueOptions } from './options'
import constants from './constants'
import { NativeEventVue } from 'native-event-vue'
import { NativeEventVue, DebugLogLevel } from 'native-event-vue'
import { useDragDirective } from './drag'
import { useDropDirective } from './drop'

Expand All @@ -13,7 +13,7 @@ export default {
* setup native-event-vue
*/
app.use(NativeEventVue, {
debugLog: opts.debugLog,
debugLogLevel: opts.debugLog ? DebugLogLevel.Info : DebugLogLevel.Error,
propNamePrefix: constants.eventPropNamePrefix,
})

Expand Down
2 changes: 1 addition & 1 deletion lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default {
defaultOptions: {
dragDirectiveName: 'drag',
dropDirectiveName: 'drop',
dragOverDebounceMs: 300,
dragOverDebounceMs: 500,
dragOverDebounceMode: DebounceMode.MaximumFrequency,
} as DragonDropVueOptions,
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@
"*.{ts,json,vue,css}": "prettier --write"
},
"dependencies": {
"native-event-vue": "^1.1.0"
"native-event-vue": "^1.2.0"
}
}
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 317bed2

Please sign in to comment.