```
### Prop Types
| Property | Type | Required? | Description |
| :----------- | :------ | :-------- | :------------------------------------------------------------------------------------------------------- |
| align | String | | One of "left", "up", "right", "down", default is 'right'. the location of the drawer. |
| closeable | Boolean | | show the x - close button, default true |
| mask | Boolean | | show the mask layer - close button, default true |
| maskClosable | Boolean | | emit 'close' event when click on mask layer, default: false |
| zIndex | Number | | z-index value for the drawer, the nest drawer's z-index will be increased automatically, default is 1000 |
### Events
| Event | Params | Required? | Description |
| :---- | :----- | :-------- | :--------------------------------------------------- |
| close | None | | will be triggered when user click the x close button | |
### Slot
| Slot Name | Description |
| :-------- | ---------------------------------------------------------------------- |
| default | the content display in the drawer which can show/hide the draw by v-if |
### Advance Guide
#### Nest Drawer
```js
content here
content here
content here
content here
content here
content here
content here
content here
content here
content here
...
data() {
return {
open: false,
innerOpen: false,
align: "left"
};
},
```
#### Customized Theme
- In your customized scss file (demo.scss)
```scss
$--simple-drawer-close-width: 50px;
@import "~vue-simple-drawer/src/index";
```
- import the scss to override the default theme in main.js (entry file) **after** you import the Draw component
```js
import "./demo.scss";
```
> variables
**close button style**
- \$--simple-drawer-softorange
- \$--simple-drawer-tomatored
- \$--simple-drawer-mediumblu
**close button size**
- \$--simple-drawer-close-width
**drawer background**
- \$--simple-drawer-bg-color
**drawer text color**
- \$--simple-drawer-fg-color
## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fdreambo8563%2Fvue-simple-drawer?ref=badge_large)
## Contributors
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):