UNPKG
vue3-dnd
Version:
beta (2.0.2-beta.0)
latest (2.1.0)
2.1.0
2.0.4
2.0.3
2.0.2
2.0.2-beta.0
2.0.1
2.0.0
2.0.0-next.0
1.0.1
1.0.0
0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
Drag and Drop for Vue Composition API
www.vue3-dnd.com
hcg1023/vue3-dnd
vue3-dnd
/
dist
/
types
/
hooks
/
useDrag
/
useDragType.d.ts
5 lines
(4 loc)
•
249 B
TypeScript
View Raw
1
2
3
4
5
import
type
{
Identifier
}
from
'dnd-core'
;
import
type
{
DragSourceHookSpec
}
from
'../types'
;
import
{
ComputedRef
,
Ref
}
from
'vue-demi'
;
export
declare
function
useDragType
(
spec
:
Ref
<
DragSourceHookSpec
<
any
,
any
,
any
>>
):
ComputedRef
<
Identifier
>;