Drawer
Basic usage
customize footer
You can show or hide footer by configuring footerShow attribute, and you can customize the content of footer by footer slot. footer is hidden by default.
API
Attribute
| Name | is Required | Description | Type | Default Value |
|---|---|---|---|---|
| title | No | title of drawer | string | - |
| v-model | No | visiblity of drawer | Boolean | false |
| size | No | width of drawer | Number/String | 1088 |
| footerShow | No | whether show footer | Boolean | true |
iDrawer is a secondary encapuslation base on Drawer from Element plus. For description of other properties, please refer to Drawer
Event
| Name | Description | Parameters |
|---|---|---|
| drawerClose | trigger when close icon is clicked | - |
Slot
| Slot Name | Description |
|---|---|
| - | content of body |
| footer | content of footer |
