UNPKG
ahooks-vue
Version:
latest (0.15.1)
0.15.1
0.15.0
0.14.3
0.14.1
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.9
0.12.8
0.12.7
0.12.6
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.3
0.11.2
0.11.1
0.11.0
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9.3
0.9.2
0.9.1
0.9.0
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
ahooks-vue
dewfall123.github.io/ahooks-vue/
dewfall123/ahooks-vue
ahooks-vue
/
dist
/
src
/
useHover
/
index.d.ts
8 lines
(7 loc)
•
243 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
BasicTarget
}
from
'../utils/dom'
;
interface
Options
{
onEnter
?:
() =>
void
;
onLeave
?:
() =>
void
; }
export
declare
function
useHover
(
target
:
BasicTarget
,
options
?:
Options
):
import
(
"vue-demi"
).
Ref
<
boolean
>;
export
{};