Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
LeapMotionTS.d
DefaultListener
Class DefaultListener
Hierarchy
EventDispatcher
DefaultListener
Index
Constructor methods
constructor
Methods
addEventListener
dispatchEvent
hasEventListener
onConnect
onDisconnect
onExit
onFrame
onInit
removeEventListener
Constructor methods
constructor
(
)
:
DefaultListener
Returns
DefaultListener
Methods
public
addEventListener
(
typeStr
:
string
, listenerFunc
:
Function
)
Parameters
typeStr:
string
listenerFunc:
Function
public
dispatchEvent
(
evt
:
LeapEvent
)
Parameters
evt:
LeapEvent
public
hasEventListener
(
type
:
string
, listener
:
Function
)
:
boolean
Parameters
type:
string
listener:
Function
Returns
boolean
public
onConnect
(
controller
:
Controller
)
Parameters
controller:
Controller
public
onDisconnect
(
controller
:
Controller
)
Parameters
controller:
Controller
public
onExit
(
controller
:
Controller
)
Parameters
controller:
Controller
public
onFrame
(
controller
:
Controller
, frame
:
Frame
)
Parameters
controller:
Controller
frame:
Frame
public
onInit
(
controller
:
Controller
)
Parameters
controller:
Controller
public
removeEventListener
(
typeStr
:
string
, listenerFunc
:
Function
)
Parameters
typeStr:
string
listenerFunc:
Function
Globals
LeapMotionTS.d
Listener
CircleGesture
Controller
DefaultListener
constructor
addEventListener
dispatchEvent
hasEventListener
onConnect
onDisconnect
onExit
onFrame
onInit
removeEventListener
EventDispatcher
Finger
Frame
Gesture
Hand
KeyTapGesture
LeapEvent
LeapUtil
Matrix
Pointable
ScreenTapGesture
SwipeGesture
Tool
Vector3