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
Properties
start_
distance?
Methods
on
End?
on
Move?
on
Start?
Properties
Optional
start_
distance
start_distance
?:
number
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
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
start_
distance
Methods
on
End
on
Move
on
Start
Blockbench Reference Docs
Loading...
Utility to implement dragging UI elements such as draggable elements, resize bars, etc.