You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Joe 9b449c2688 first commit 2 years ago
..
README.en-US.md first commit 2 years ago
README.md first commit 2 years ago
dialog.d.ts first commit 2 years ago
dialog.js first commit 2 years ago
dialog.json first commit 2 years ago
dialog.wxml first commit 2 years ago
dialog.wxs first commit 2 years ago
dialog.wxss first commit 2 years ago
index.d.ts first commit 2 years ago
index.js first commit 2 years ago
props.d.ts first commit 2 years ago
props.js first commit 2 years ago
type.d.ts first commit 2 years ago
type.js first commit 2 years ago

README.en-US.md

:: BASE_DOC ::

API

Dialog Props

name type default description required
actions Array / Slot - TypescriptArray<ButtonProps>Button API Documentssee more ts definition N
button-layout String horizontal optionshorizontal/vertical N
cancel-btn String / Object / Slot - see more ts definition N
close-btn Boolean / Object false 0.31.0 N
close-on-overlay-click Boolean undefined - N
confirm-btn String / Object / Slot - - N
content String / Slot - - 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 - - N
z-index Number 11500 - N

Dialog Events

name params description
cancel - -
close (trigger: DialogEventSource) see more ts definition
type DialogEventSource = 'cancel' | 'overlay' | 'close-btn'
confirm - -
overlay-click - -