ado5 3903c18ce2 first commit | hace 9 meses | |
---|---|---|
.. | ||
README.en-US.md | hace 9 meses | |
README.md | hace 9 meses | |
dialog.d.ts | hace 9 meses | |
dialog.js | hace 9 meses | |
dialog.json | hace 9 meses | |
dialog.wxml | hace 9 meses | |
dialog.wxs | hace 9 meses | |
dialog.wxss | hace 9 meses | |
index.d.ts | hace 9 meses | |
index.js | hace 9 meses | |
props.d.ts | hace 9 meses | |
props.js | hace 9 meses | |
type.d.ts | hace 9 meses | |
type.js | hace 9 meses |
:: BASE_DOC ::
name | type | default | description | required
-- | -- | -- | -- | --
actions | Array / Slot | - | Typescript:Array<ButtonProps>
,Button API Documents。see more ts definition | N
button-layout | String | horizontal | options:horizontal/vertical | N
cancel-btn | String / Object / Slot | '' | see more ts definition | N
close-on-overlay-click | Boolean | true | - | N
confirm-btn | String / Object / Slot | '' | - | N
content | String / Slot | - | - | N
custom-style v0.25.0
| String | - | - | N
external-classes | Array | - | ['t-class', 't-class-content', 't-class-confirm', 't-class-cancel']
| N
overlay-props | Object | {} | - | N
prevent-scroll-through | Boolean | true | - | N
show-overlay | Boolean | true | - | N
title | String / Slot | - | - | N
visible | Boolean | false | - | N
z-index | Number | 11500 | - | N
name | params | description
-- | -- | --
cancel | - | -
close | (trigger: DialogEventSource)
| see more ts definition。type DialogEventSource = 'cancel' \| 'overlay'
confirm | - | -
overlay-click | - | -
confirm | - | 如果“确认”按钮存在,则点击“确认”按钮时触发
action | (index: number)
| -
open-type-event | (ButtonEventDetail)
| -
open-type-error-event | (ButtonError)
| -