You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lsl 7e355978ae
初始化提交代码
3 years ago
..
README.en-US.md 初始化提交代码 3 years ago
README.md 初始化提交代码 3 years ago
popup.d.ts 初始化提交代码 3 years ago
popup.js 初始化提交代码 3 years ago
popup.json 初始化提交代码 3 years ago
popup.wxml 初始化提交代码 3 years ago
popup.wxs 初始化提交代码 3 years ago
popup.wxss 初始化提交代码 3 years ago
props.d.ts 初始化提交代码 3 years ago
props.js 初始化提交代码 3 years ago
type.d.ts 初始化提交代码 3 years ago
type.js 初始化提交代码 3 years ago

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'