Files
agent-skills/skills/vueuse-functions/references/refManualReset.md
Jason Woltje f5792c40be feat: Complete fleet — 94 skills across 10+ domains
Pulled ALL skills from 15 source repositories:
- anthropics/skills: 16 (docs, design, MCP, testing)
- obra/superpowers: 14 (TDD, debugging, agents, planning)
- coreyhaines31/marketingskills: 25 (marketing, CRO, SEO, growth)
- better-auth/skills: 5 (auth patterns)
- vercel-labs/agent-skills: 5 (React, design, Vercel)
- antfu/skills: 16 (Vue, Vite, Vitest, pnpm, Turborepo)
- Plus 13 individual skills from various repos

Mosaic Stack is not limited to coding — the Orchestrator and
subagents serve coding, business, design, marketing, writing,
logistics, analysis, and more.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 16:27:42 -06:00

45 lines
927 B
Markdown

---
category: Reactivity
---
# refManualReset
Create a ref with manual reset functionality.
## Usage
```ts
import { refManualReset } from '@vueuse/core'
const message = refManualReset('default message')
message.value = 'message has set'
message.reset()
console.log(message.value) // 'default message'
```
## Type Declarations
```ts
/**
* Define the shape of a ref that supports manual reset functionality.
*
* This interface extends the standard `Ref` type from Vue and adds a `reset` method.
* The `reset` method allows the ref to be manually reset to its default value.
*/
export interface ManualResetRefReturn<T> extends Ref<T> {
reset: Fn
}
/**
* Create a ref with manual reset functionality.
*
* @see https://vueuse.org/refManualReset
* @param defaultValue The value which will be set.
*/
export declare function refManualReset<T>(
defaultValue: MaybeRefOrGetter<T>,
): ManualResetRefReturn<T>
```