UNPKG
motion-plus-vue
Version:
latest (1.8.1)
1.8.1
1.8.0
1.7.0
1.6.0
1.5.1
1.5.0
1.5.0-beta.1
1.4.0
1.3.1
1.3.0
1.2.1
1.2.0
1.2.0-beta.1
1.2.0-alpha.0
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
0.1.0
0.0.2
0.0.1
Motion Plus Vue
motion-plus-vue
/
dist
/
components
/
Cursor
/
hooks
/
use-cursor-state
/
find-target.d.ts
4 lines
(3 loc)
•
193 B
TypeScript
View Raw
1
2
3
4
import
{
CursorTarget
,
CursorType
}
from
'./types'
;
export
type
TypeAndTarget
= [
CursorType
,
CursorTarget
|
null
];
export
declare
function
findTarget
(
eventTarget
:
CursorTarget
):
TypeAndTarget
;