Skip to content
On this page

Drawer 抽屉

基本用法

打开位置

显示入口

属性

属性类型默认值说明
allowClickMaskToClosebooleantrue允许点击蒙层关闭对话框
beforeClosefunction() => true关闭前事件
classstring''自定义样式,类名以空格隔开
maskClassstring''自定义蒙层样式,类名以空格隔开
backgroundColorstring#fff(白色)背景色
heightnumber 或 string300高度
modelValuebooleanfalse开启或者关闭
positionstringright弹出位置
showClosebooleantrue是否展示关闭按钮
titlestring--标题
widthnumber 或 string300宽度

插槽

TIP

暂无内容