docs: add vaul-vue scale background note (#481)

This commit is contained in:
LeeChan 2024-04-13 00:03:24 +08:00 committed by GitHub
parent 8052eb1a33
commit f51a8da08d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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