WGShare.Client.Wx/miniprogram_npm/tdesign-miniprogram/dialog
yj d281aab5b3 Initial Commit 2024-11-11 14:16:29 +08:00
..
README.en-US.md Initial Commit 2024-11-11 14:16:29 +08:00
README.md Initial Commit 2024-11-11 14:16:29 +08:00
dialog.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
dialog.js Initial Commit 2024-11-11 14:16:29 +08:00
dialog.json Initial Commit 2024-11-11 14:16:29 +08:00
dialog.wxml Initial Commit 2024-11-11 14:16:29 +08:00
dialog.wxs Initial Commit 2024-11-11 14:16:29 +08:00
dialog.wxss Initial Commit 2024-11-11 14:16:29 +08:00
index.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
index.js Initial Commit 2024-11-11 14:16:29 +08:00
props.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
props.js Initial Commit 2024-11-11 14:16:29 +08:00
type.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
type.js Initial Commit 2024-11-11 14:16:29 +08:00

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