Documentation
Code
GitLab
@geogirafe/lib-geoportal
components/treeview/tools/draghelper
DragHelper
Class DragHelper
Index
Constructors
constructor
Methods
check
Parents
move
Layer
After
move
Layer
Before
reorder
Layers
Constructors
constructor
new
DragHelper
()
:
DragHelper
Returns
DragHelper
Methods
Static
check
Parents
checkParents
(
dragged
:
BaseLayer
,
dropped
:
BaseLayer
)
:
void
Parameters
dragged
:
BaseLayer
dropped
:
BaseLayer
Returns
void
Static
move
Layer
After
moveLayerAfter
(
dragged
:
BaseLayer
,
dropped
:
BaseLayer
)
:
void
Parameters
dragged
:
BaseLayer
dropped
:
BaseLayer
Returns
void
Static
move
Layer
Before
moveLayerBefore
(
dragged
:
BaseLayer
,
dropped
:
BaseLayer
)
:
void
Parameters
dragged
:
BaseLayer
dropped
:
BaseLayer
Returns
void
Static
reorder
Layers
reorderLayers
(
dragged
:
BaseLayer
,
dropped
:
BaseLayer
,
adjustOrder
:
(
childOrder
:
number
,
draggedOrder
:
number
)
=>
boolean
,
increment
:
number
,
)
:
void
Parameters
dragged
:
BaseLayer
dropped
:
BaseLayer
adjustOrder
:
(
childOrder
:
number
,
draggedOrder
:
number
)
=>
boolean
increment
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
check
Parents
move
Layer
After
move
Layer
Before
reorder
Layers
@geogirafe/lib-geoportal
Loading...