Skip to content

Commit

Permalink
docs: add vaul-vue scale background note (#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
rookie-orange authored Apr 12, 2024
1 parent 8052eb1 commit f51a8da
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/www/src/content/docs/components/drawer.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ import {
</Drawer>
</template>
```
### Scale Background

If you want the background to have a zoom effect, you need to add the `vaul-drawer-wrapper` attribute to the root component.

```html
<div vaul-drawer-wrapper id="app"></div>
```

## Examples

Expand Down

0 comments on commit f51a8da

Please sign in to comment.