Constructors
constructor
Parameters
element: HTMLElement | SVGElement
Properties
DIRECTION_ALL
DIRECTION_ALL: 30
DIRECTION_DOWN
DIRECTION_DOWN: 16
DIRECTION_HORIZONTAL
DIRECTION_HORIZONTAL: 6
DIRECTION_LEFT
DIRECTION_LEFT: 2
DIRECTION_NONE
DIRECTION_NONE: 1
DIRECTION_RIGHT
DIRECTION_RIGHT: 4
DIRECTION_UP
DIRECTION_UP: 8
DIRECTION_VERTICAL
DIRECTION_VERTICAL: 24
INPUT_CANCEL
INPUT_CANCEL: 8
INPUT_START
INPUT_START: 1
STATE_BEGAN
STATE_BEGAN: 2
STATE_CANCELLED
STATE_CANCELLED: 16
STATE_CHANGED
STATE_CHANGED: 4
STATE_ENDED
STATE_ENDED: 8
STATE_FAILED
STATE_FAILED: 32
STATE_POSSIBLE
STATE_POSSIBLE: 1
STATE_RECOGNIZED
STATE_RECOGNIZED: 8
Methods
bindFn
- bindFn(fn: Function, context: any): Function
Parameters
Returns Function
each
- each(obj: any, iterator: Function, context: any): void
Parameters
obj: any
iterator: Function
context: any
Returns void
extend
- extend(dest: any, src: any, merge: boolean): any
Parameters
dest: any
src: any
merge: boolean
Returns any
inherit
- inherit(child: Function, base: Function, properties: any): any
Parameters
child: Function
base: Function
properties: any
Returns any
merge
- merge(dest: any, src: any): any
off
- off(target: EventTarget, types: string, handler: Function): void
Parameters
target: EventTarget
types: string
handler: Function
Returns void
on
- on(target: EventTarget, types: string, handler: Function): void
Parameters
target: EventTarget
types: string
handler: Function
Returns void
prefixed
- prefixed(obj: any, property: string): string