UNPKG
@cran/lib.vue.ref
Version:
latest (0.2.3)
0.2.3
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
0.0.1
Vue Reactivity Extensions
@cran/lib.vue.ref
/
dts
/
controller
/
useRef.d.ts
7 lines
(6 loc)
•
165 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
type
Ref
,
type
WatchSource
}
from
"vue"
;
/** *
@since
0.2.0 *
@category
Controller
*/
export
declare
function
useRef<T>(
source
:
WatchSource
<T>):
Ref
<T>;