vue-lynx / computed
Function: computed()
computed(getter, debugOptions)
Takes a getter function and returns a readonly reactive ref object for the returned value from the getter. It can also take an object with get and set functions to create a writable ref object.
Type Parameters
Parameters
Returns
ComputedRef<T>
Example
See
https://vuejs.org/api/reactivity-core.html#computed
Defined in
node_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:6
computed(options, debugOptions)
Type Parameters
Parameters
Returns
WritableComputedRef<T, S>
Defined in
node_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:6