WGShare.Client.Wx/miniprogram_npm/tdesign-miniprogram/popup
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
popup.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
popup.js Initial Commit 2024-11-11 14:16:29 +08:00
popup.json Initial Commit 2024-11-11 14:16:29 +08:00
popup.wxml Initial Commit 2024-11-11 14:16:29 +08:00
popup.wxs Initial Commit 2024-11-11 14:16:29 +08:00
popup.wxss 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

Popup Props

name type default description required
close-btn Boolean / Slot - - N
close-on-overlay-click Boolean true - N
content String / Slot - - N
duration Number 240 - N
external-classes Array - ['t-class', 't-class-overlay', 't-class-content'] N
overlay-props Object {} - N
placement String top optionstop/left/right/bottom/center N
prevent-scroll-through Boolean true - N
show-overlay Boolean true - N
visible Boolean false Typescriptboolean N
default-visible Boolean undefined uncontrolled property。Typescriptboolean N
z-index Number 11500 - N

Popup Events

name params description
visible-change (visible: boolean, trigger: PopupSource) see more ts definition
type PopupSource = 'close-btn' | 'overlay'