Preparing search index...
The search index is not available
kokomi.js
kokomi.js
DragDetecter
Class DragDetecter
A detecter to detect
drag
event.
Hierarchy (
view full
)
Component
DragDetecter
Index
Constructors
constructor
Properties
base
container
emitter
enabled
is
Cursor
Changed
is
Dragging
Methods
add
Existing
change
Cursor
Grab
change
Cursor
Grabbing
detect
Drag
disable
emit
enable
end
Drag
off
on
reset
Cursor
update
Constructors
constructor
new
Drag
Detecter
(
base
,
config
?
)
:
DragDetecter
Parameters
base
:
Base
config
:
Partial
<
DragDetecterConfig
>
= {}
Returns
DragDetecter
Properties
base
base
:
Base
container
container
:
Scene
emitter
emitter
:
Emitter
<
any
>
enabled
enabled
:
boolean
is
Cursor
Changed
is
Cursor
Changed
:
boolean
is
Dragging
is
Dragging
:
boolean
Methods
add
Existing
add
Existing
(
)
:
void
Returns
void
change
Cursor
Grab
change
Cursor
Grab
(
)
:
void
Returns
void
change
Cursor
Grabbing
change
Cursor
Grabbing
(
)
:
void
Returns
void
detect
Drag
detect
Drag
(
)
:
void
Returns
void
disable
disable
(
)
:
void
Returns
void
emit
emit
(
type
,
event
?
)
:
void
Parameters
type
:
string
event
:
any
= {}
Returns
void
enable
enable
(
)
:
void
Returns
void
end
Drag
end
Drag
(
)
:
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
reset
Cursor
reset
Cursor
(
)
:
void
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
emitter
enabled
is
Cursor
Changed
is
Dragging
Methods
add
Existing
change
Cursor
Grab
change
Cursor
Grabbing
detect
Drag
disable
emit
enable
end
Drag
off
on
reset
Cursor
update
kokomi.js
Loading...
A detecter to detect
drag
event.