Added the option "capturePointerEvents" to InteractionDelegate.

This commit is contained in:
2019-09-17 10:39:30 +02:00
parent d3c8d9c1af
commit 42afa3e7ab
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -966,6 +966,7 @@ export class InteractionMapper extends InteractionDelegate {
tapDistance = 10,
longPressTime = 500.0,
useCapture = true,
capturePointerEvents = true,
mouseWheelElement = null,
logInteractionsAbove = 12
} = {}
@@ -973,6 +974,7 @@ export class InteractionMapper extends InteractionDelegate {
super(element, target, {
tapDistance,
useCapture,
capturePointerEvents,
longPressTime,
mouseWheelElement
})