DragManager
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:13
Properties
actionEl
actionEl:
null
|HTMLElement
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:14
app
app:
App
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:15
draggable
draggable:
null
|Draggable
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:16
dragStart
dragStart:
null
|DragStartEvent
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:17
ghostEl
ghostEl:
null
|HTMLElement
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:18
hoverClass
hoverClass:
string
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:19
hoverEl
hoverEl:
null
|HTMLElement
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:20
isDragOverHandled
isDragOverHandled:
boolean
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:21
overlayEl
overlayEl:
HTMLElement
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:22
shouldHideOverlay
shouldHideOverlay:
boolean
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:23
sourceClass
sourceClass:
string
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:24
sourceEls
sourceEls:
null
|HTMLElement
[]
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:25
Methods
dragFile()
dragFile(
event
,file
,source
?):Draggable
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:27
Parameters
event
file
source?
unknown
Returns
dragFiles()
dragFiles(
event
,files
,source
?):null
|Draggable
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:28
Parameters
event
files
source?
unknown
Returns
null
| Draggable
dragFolder()
dragFolder(
event
,folder
,source
?):Draggable
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:29
Parameters
event
folder
source?
unknown
Returns
dragLink()
dragLink(
event
,linkText
,sourcePath
,title
?,source
?):Draggable
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:30
Parameters
event
linkText
string
sourcePath
string
title?
string
source?
unknown
Returns
handleDrag()
handleDrag(
el
,draggableGetter
):void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:31
Parameters
el
draggableGetter
(event
) => null
| Draggable
Returns
void
handleDrop()
handleDrop(
el
,dropHandler
,draggable
?):void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:32
Parameters
el
dropHandler
(event
, draggable
, isOver
) => null
| DropResult
draggable?
boolean
Returns
void
hideOverlay()
hideOverlay():
void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:37
Returns
void
onDragEnd()
onDragEnd():
void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:38
Returns
void
onDragLeave()
onDragLeave(
event
):void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:39
Parameters
event
Returns
void
onDragOver()
onDragOver(
event
):void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:40
Parameters
event
Returns
void
onDragOverFirst()
onDragOverFirst():
void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:41
Returns
void
onDragStart()
onDragStart(
event
,draggable
):void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:42
Parameters
event
draggable
Returns
void
onDragStartGlobal()
onDragStartGlobal(
event
):void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:43
Parameters
event
Returns
void
onTouchEnd()
onTouchEnd(
event
):void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:44
Parameters
event
Returns
void
removeOverlay()
removeOverlay():
void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:45
Returns
void
setAction()
setAction(
action
):void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:46
Parameters
action
null
| string
Returns
void
showOverlay()
showOverlay(
doc
,rect
):void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:47
Parameters
doc
rect
Returns
void
updateHover()
updateHover(
hoverEl
,hoverClass
):void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:48
Parameters
hoverEl
null
| HTMLElement
hoverClass
string
Returns
void
updateSource()
updateSource(
sourceEls
,sourceClass
):void
Defined in: src/obsidian/internals/DragManager/DragManager.d.ts:49
Parameters
sourceEls
null
| HTMLElement
[]
sourceClass
string
Returns
void