Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhang1030 committed Feb 11, 2025
1 parent ec708dd commit ef3593b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/docs/content/docs/vue/api-references/composable.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ This metadata will be available in the `metadata` property of the `useStepper` c
Allows you to set the metadata for a step.

```tsx
stepper.setMetadata("first", {
stepper.value.setMetadata("first", {
value: "1",
});
```
Expand All @@ -386,15 +386,15 @@ stepper.setMetadata("first", {
The `getMetadata` method allows you to get the metadata for a step.

```tsx
const metadata = stepper.getMetadata("first");
const metadata = stepper.value.getMetadata("first");
```

### resetMetadata

The `resetMetadata` method allows you to reset the metadata for a step. You can also pass a boolean value to keep the initial metadata defined in the `useStepper` composable.

```tsx
stepper.resetMetadata(true | false);
stepper.value.resetMetadata(true | false);
```

## API Reference
Expand Down

0 comments on commit ef3593b

Please sign in to comment.