feat: delegate pointer events

This commit is contained in:
Evan You 2018-10-28 15:23:37 -04:00
parent e8dd725e41
commit c9b33a9e69

View File

@ -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 EventValue = Function | Function[]
type TargetRef = { el: Element | Document } type TargetRef = { el: Element | Document }