docs: add vaul-vue scale background note (#481)
This commit is contained in:
parent
8052eb1a33
commit
f51a8da08d
|
|
@ -53,6 +53,13 @@ import {
|
||||||
</Drawer>
|
</Drawer>
|
||||||
</template>
|
</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
|
## Examples
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user