Blockbench Reference Docs
Preparing search index...
generated/util/drag_helper
DragOptions
Interface DragOptions
Utility to implement dragging UI elements such as draggable elements, resize bars, etc.
interface
DragOptions
{
start_distance
?:
number
;
onEnd
?
(
context
:
DragContext
)
:
void
;
onMove
?
(
context
:
DragContext
)
:
void
;
onStart
?
(
context
:
DragContext
)
:
void
;
}
Index
Methods
on
End?
on
Move?
on
Start?
Properties
start_
distance?
Methods
Optional
on
End
onEnd
?
(
context
:
DragContext
)
:
void
Parameters
context
:
DragContext
Returns
void
Optional
on
Move
onMove
?
(
context
:
DragContext
)
:
void
Parameters
context
:
DragContext
Returns
void
Optional
on
Start
onStart
?
(
context
:
DragContext
)
:
void
Parameters
context
:
DragContext
Returns
void
Properties
Optional
start_
distance
start_distance
?:
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
on
End
on
Move
on
Start
Properties
start_
distance
Blockbench Reference Docs
Loading...
Utility to implement dragging UI elements such as draggable elements, resize bars, etc.