v-drawer
v-drawer

Install
Development
# install
npm install --save v-drawer
# run
npm run dev
# build
npm run build
Example
local: http://localhost:3002/
online: http://mapleliu.com/v-drawer/
Usage
import Vue from 'vue';
import VDrawer from 'v-drawer';
Vue.component(VDrawer.name, VDrawer);
API
props
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|---|---|---|---|---|
| position | 抽屉所在位置 | String |
left |
left,right,top,bottom |
| open | 抽屉是否展开 | Boolean |
- | |
| docked | 抽屉是否嵌入文档 | Boolean |
- | |
| sidebar-style | 侧边栏样式 | String Object |
- | - |
| overlay-style | 遮罩层样式 | String Object |
- | - |
| content-style | 抽屉内容样式 | String Object |
- | - |
| forbid-click | 禁止背景点击 | Boolean |
false |
- |
Related Packages
vaul-vue
Vaul Vue is an unstyled drawer component for Vue that can be used as a Dialog re...
19,162,483
497
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.9 | ^2.5.9 | MIT | |
| 1.0.8 | ^2.5.9 | MIT | |
| 1.0.7 | ^2.5.9 | MIT | |
| 1.0.6 | ^2.5.9 | MIT | |
| 1.0.5 | ^2.5.9 | MIT | |
| 1.0.4 | ^2.5.9 | MIT | |
| 1.0.3 | ^2.5.9 | MIT | |
| 1.0.2 | ^2.5.9 | MIT | |
| 1.0.1 | ^2.5.9 | MIT |
