Skip to content
On this page

Drawer
New

将隐藏的边栏构建到您的项目中,用于导航、购物车等。

Usage

placement

设置抽屉位置。

fullscreen

设置是否全屏显示。

shakeOff

甩掉一些东西。

headless

定制抽屉。

Props

NameTypeDefaultDescription
placement'left' | 'right' | 'top' | 'bottom''left'set drawer placement.
fullscreenbooleanfalseSet whether to full screen.
shakeOff<'x-button' | 'mask' | 'header'>[][]shake off somthing.

Slots

NameParametersDescription
default()Notification's content.
headless()Custom notification.

MIT Licensed