0.0.5 • Published 4 years ago
@treecrow/actionsheet v0.0.5
@treecrow/actionsheet
底部弹窗
快速开始
// npm install @treecrow/actionsheet --save
import Actionsheet from "@treecrow/actionsheet";
Vue.component("Actionsheet", Actionsheet);
api
option | Description | Value | Default |
---|---|---|---|
actions | array of actions | Array | - |
visible | visibility of the action sheet | Boolean | 'false' |
cancelText | text of the cancel button | String | '取消' |
closeOnClickModal | determines if the action sheet turn off when the modal is clicked | Boolean | 'true' |