UNPKG
@cran/vue.use
Version:
latest (0.0.2)
0.0.2
0.0.1
Cranberry Vue Use Utilities
c6s.gitlab.io/lib/vue/use/modules.html
@cran/vue.use
/
cjs
/
state
/
useLifecycle.d.ts
4 lines
(3 loc)
•
141 B
TypeScript
View Raw
1
2
3
4
export
declare
function
useLifecycle
(
onActive
: () =>
void
,
onInactive
: () =>
void
): {
active
:
import
(
"@vue/reactivity"
).
Ref
<
boolean
>; };