_findPrimaryTouch
protected
void
_findPrimaryTouch
(
stage
,
touches
)
- Parameters:
-
stage <Stage>
-
touches <Array[Touch]>
- Returns:
void
_handleTouchEnd
protected
void
_handleTouchEnd
(
stage
,
e
)
- Parameters:
-
stage <Stage>
-
e <TouchEvent>
- Returns:
void
_handleTouchMove
protected
void
_handleTouchMove
(
stage
,
e
)
- Parameters:
-
stage <Stage>
-
e <TouchEvent>
- Returns:
void
_handleTouchStart
protected
void
_handleTouchStart
(
stage
,
e
)
- Parameters:
-
stage <Stage>
-
e <TouchEvent>
- Returns:
void
enable
static
void
enable
(
stage
)
Enables touch interaction for the specified EaselJS stage. This
currently only supports iOS, and simply maps single touch events
to the existing EaselJS mouse events.
- Parameters:
-
stage <Stage>
The stage to enable touch on.
- Returns:
void
isSupported
static
Boolean
isSupported
(
)
Enables touch interaction for the specified EaselJS stage. This
currently only supports iOS, and simply maps single touch events
to the existing EaselJS mouse events.
- Returns:
Boolean
- A boolean indicating whether touch is supported in the current environment.