Pinch
An Pinch is defined as two inputs moving closer to each other. This gesture does not account for any start/end events to allow for the event to interact with the Pan and Pinch events.
Constructor Summary
Public Constructor | ||
public |
constructor(options: *) Constructor function for the Pinch class. |
Inherited Summary
From class Gesture | ||
public |
The unique identifier for each gesture determined at bind time by the state object. |
|
public |
The generic string type of gesture ('expand'|'pan'|'pinch'|'rotate'|'swipe'|'tap'). |
|
public |
end() - Event hook for the move of a gesture |
|
public |
Return the id of the event. |
|
public |
getType() - Returns the generic type of the gesture |
|
public |
move() - Event hook for the move of a gesture |
|
public |
Set the id of the gesture to be called during an event |
|
public |
Set the type of the gesture to be called during an event |
|
public |
start() - Event hook for the start of a gesture |
|
public |
update(object: *) Updates internal properties with new ones, only if the properties exist. |
From class Distance | ||
public |
The minimum amount in pixels the inputs must move until it is fired. |
|
public |
The type of the Gesture. |
|
public |
Event hook for the move of a gesture. |
|
public |
start(inputs: *) start() - Event hook for the start of a gesture. |
Public Constructors
public constructor(options: *) source
Constructor function for the Pinch class.
Override:
Distance#constructorParams:
Name | Type | Attribute | Description |
options | * |