Preparing search index...
The search index is not available
kokomi.js
kokomi.js
Joystick
Class Joystick
An encapsuled class by
nipplejs
.
Hierarchy (
view full
)
Component
Joystick
Index
Constructors
constructor
Properties
base
container
data
emitter
manager
Methods
add
Existing
emit
listen
For
Gesture
off
on
update
Constructors
constructor
new
Joystick
(
base
,
config
?
)
:
Joystick
Parameters
base
:
Base
config
:
Partial
<
JoystickConfig
>
= {}
Returns
Joystick
Properties
base
base
:
Base
container
container
:
Scene
data
data
:
Partial
<
JoystickOutputData
>
emitter
emitter
:
Emitter
<
any
>
manager
manager
:
JoystickManager
Methods
add
Existing
add
Existing
(
)
:
void
Returns
void
emit
emit
(
type
,
event
?
)
:
void
Parameters
type
:
string
event
:
any
= {}
Returns
void
listen
For
Gesture
listen
For
Gesture
(
)
:
void
Returns
void
off
off
(
type
,
handler
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
on
on
(
type
,
handler
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
update
update
(
time
)
:
void
Parameters
time
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
container
data
emitter
manager
Methods
add
Existing
emit
listen
For
Gesture
off
on
update
kokomi.js
Loading...
An encapsuled class by nipplejs.