Egret Engine R - v6.0.0
Preparing search index...
egret/events/TouchEvent
DisplayObject
Interface DisplayObject
interface
DisplayObject
{
addEventListener
<
Z
>
(
type
:
|
"touchMove"
|
"touchBegin"
|
"touchEnd"
|
"touchCancel"
|
"touchTap"
|
"touchReleaseOutside"
|
"touchRollOut"
|
"touchRollOver"
,
listener
:
(
this
:
Z
,
e
:
TouchEvent
)
=>
void
,
thisObject
:
Z
,
useCapture
?:
boolean
,
priority
?:
number
,
)
:
any
;
addEventListener
(
type
:
string
,
listener
:
Function
,
thisObject
:
any
,
useCapture
?:
boolean
,
priority
?:
number
,
)
:
any
;
}
Index
Methods
add
Event
Listener
Methods
add
Event
Listener
addEventListener
<
Z
>
(
type
:
|
"touchMove"
|
"touchBegin"
|
"touchEnd"
|
"touchCancel"
|
"touchTap"
|
"touchReleaseOutside"
|
"touchRollOut"
|
"touchRollOver"
,
listener
:
(
this
:
Z
,
e
:
TouchEvent
)
=>
void
,
thisObject
:
Z
,
useCapture
?:
boolean
,
priority
?:
number
,
)
:
any
Type Parameters
Z
Parameters
type
:
|
"touchMove"
|
"touchBegin"
|
"touchEnd"
|
"touchCancel"
|
"touchTap"
|
"touchReleaseOutside"
|
"touchRollOut"
|
"touchRollOver"
listener
:
(
this
:
Z
,
e
:
TouchEvent
)
=>
void
thisObject
:
Z
Optional
useCapture
:
boolean
Optional
priority
:
number
Returns
any
addEventListener
(
type
:
string
,
listener
:
Function
,
thisObject
:
any
,
useCapture
?:
boolean
,
priority
?:
number
,
)
:
any
Parameters
type
:
string
listener
:
Function
thisObject
:
any
Optional
useCapture
:
boolean
Optional
priority
:
number
Returns
any
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
add
Event
Listener
Egret Engine R - v6.0.0
Loading...