Constructor Summary
Public Constructor | ||
public |
constructor(element: Element, gesture: Gesture, handler: Function, capture: Boolean, bindOnce: Boolean) Constructor function for the Binding class. |
Member Summary
Public Members | ||
public |
A boolean flag used for the bindOnce syntax. |
|
public |
A boolean signifying if the event is to be emitted during the capture or bubble phase. |
|
public |
The element to associate the gesture to. |
|
public |
A instance of the Gesture type. |
|
public |
The function handler to execute when a gesture is recognized on the associated element. |
Public Constructors
public constructor(element: Element, gesture: Gesture, handler: Function, capture: Boolean, bindOnce: Boolean) source
Constructor function for the Binding class.
Params:
Name | Type | Attribute | Description |
element | Element | The element to associate the gesture to. |
|
gesture | Gesture | A instance of the Gesture type. |
|
handler | Function | The function handler to execute when a gesture is recognized on the associated element. |
|
capture | Boolean |
|
A boolean signifying if the event is to be emitted during the capture or bubble phase. |
bindOnce | Boolean |
|
A boolean flag used for the bindOnce syntax. |