vue-lynx / ref
Function: ref()
ref(value)
Takes an inner value and returns a reactive and mutable ref object, which
has a single property .value that points to the inner value.
Type Parameters
Parameters
Returns
[T] extends [Ref] ? IfAny<T, Ref<T>, T> : Ref<UnwrapRef<T>, UnwrapRef<T> | T>
See
https://vuejs.org/api/reactivity-core.html#ref
Defined in
node_modules/.pnpm/@vue+reactivity@3.5.30/node_modules/@vue/reactivity/dist/reactivity.d.ts:440
ref()
Type Parameters
Returns
Ref<T | undefined>
Defined in
node_modules/.pnpm/@vue+reactivity@3.5.30/node_modules/@vue/reactivity/dist/reactivity.d.ts:441