ado5 3903c18ce2 first commit 9 ay önce
..
README.en-US.md 3903c18ce2 first commit 9 ay önce
README.md 3903c18ce2 first commit 9 ay önce
dialog.d.ts 3903c18ce2 first commit 9 ay önce
dialog.js 3903c18ce2 first commit 9 ay önce
dialog.json 3903c18ce2 first commit 9 ay önce
dialog.wxml 3903c18ce2 first commit 9 ay önce
dialog.wxs 3903c18ce2 first commit 9 ay önce
dialog.wxss 3903c18ce2 first commit 9 ay önce
index.d.ts 3903c18ce2 first commit 9 ay önce
index.js 3903c18ce2 first commit 9 ay önce
props.d.ts 3903c18ce2 first commit 9 ay önce
props.js 3903c18ce2 first commit 9 ay önce
type.d.ts 3903c18ce2 first commit 9 ay önce
type.js 3903c18ce2 first commit 9 ay önce

README.en-US.md

:: BASE_DOC ::

API

Dialog Props

name | type | default | description | required -- | -- | -- | -- | -- actions | Array / Slot | - | Typescript:Array<ButtonProps>Button API Documentssee 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

Dialog Events

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) | -