From c9b33a9e69b032febc6254c4e5560f4d65b0afb2 Mon Sep 17 00:00:00 2001 From: Evan You Date: Sun, 28 Oct 2018 15:23:37 -0400 Subject: [PATCH] feat: delegate pointer events --- packages/runtime-dom/src/modules/events.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-dom/src/modules/events.ts b/packages/runtime-dom/src/modules/events.ts index fda02d46..559fbfae 100644 --- a/packages/runtime-dom/src/modules/events.ts +++ b/packages/runtime-dom/src/modules/events.ts @@ -1,4 +1,4 @@ -const delegateRE = /^(?:click|dblclick|submit|(?:key|mouse|touch).*)$/ +const delegateRE = /^(?:click|dblclick|submit|(?:key|mouse|touch|pointer).*)$/ type EventValue = Function | Function[] type TargetRef = { el: Element | Document }