Drawer (抽屉)
从任意边缘滑出的抽屉面板,支持尺寸与标题。
基础用法
Basic.vue
属性
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| modelValue * | boolean | — | |
| className | string | "" | |
| innerClassName | string | "" | |
| isDismissable | boolean | true | |
| isShowCloseButton | boolean | true | |
| placement | KunDrawerPlacement | "right" | |
| responsive | boolean | true | |
| rounded | KunUIRounded | undefined | |
| size | KunDrawerSize | "md" | |
| title | string | "" | |
| withContainer | boolean | true |