UNPKG
jadq-x-vue
Version:
latest (1.0.8)
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Craft AI-driven interfaces effortlessly
jadq-x-vue
/
lib
/
_util
/
hooks
/
use-event-callback.js
2 lines
(1 loc)
•
221 B
JavaScript
View Raw
1
2
"use strict"
;
Object
.
defineProperty
(
exports
,
Symbol
.
toStringTag
,{
value
:
"Module"
});
const
u=
require
(
"vue"
);
function
c
(
t
){
const
e=u.
ref
(t),l=u.
ref
(
a
=>
{e.
value
&&e.
value
(a)});
return
e.
value
=t,l.
value
}
exports
.
useEventCallback
=c;