xiahan cb6ddd3787 feature 代码提交 5 月之前
..
README.en-US.md cb6ddd3787 feature 代码提交 5 月之前
README.md cb6ddd3787 feature 代码提交 5 月之前
index.d.ts cb6ddd3787 feature 代码提交 5 月之前
index.js cb6ddd3787 feature 代码提交 5 月之前
popup.d.ts cb6ddd3787 feature 代码提交 5 月之前
popup.js cb6ddd3787 feature 代码提交 5 月之前
popup.json cb6ddd3787 feature 代码提交 5 月之前
popup.wxml cb6ddd3787 feature 代码提交 5 月之前
popup.wxs cb6ddd3787 feature 代码提交 5 月之前
popup.wxss cb6ddd3787 feature 代码提交 5 月之前
props.d.ts cb6ddd3787 feature 代码提交 5 月之前
props.js cb6ddd3787 feature 代码提交 5 月之前
type.d.ts cb6ddd3787 feature 代码提交 5 月之前
type.js cb6ddd3787 feature 代码提交 5 月之前

README.en-US.md

:: BASE_DOC ::

API

Popup Props

name | type | default | description | required -- | -- | -- | -- | -- style | Object | - | CSS(Cascading Style Sheets) | N custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N close-btn | Boolean / Slot | - | see more ts definition | N close-on-overlay-click | Boolean | true | - | N content | String / Slot | - | see more ts definition | N duration | Number | 240 | - | N overlay-props | Object | {} | Typescript:OverlayPropsOverlay API Documentssee more ts definition | N placement | String | top | options: top/left/right/bottom/center | N prevent-scroll-through | Boolean | true | - | N show-overlay | Boolean | true | - | N using-custom-navbar | Boolean | false | - | N visible | Boolean | - | Typescript:boolean | N default-visible | Boolean | undefined | uncontrolled property。Typescript:boolean | 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'

Popup External Classes

className | Description -- | -- t-class | - t-class-content | -

CSS Variables

The component provides the following CSS variables, which can be used to customize styles. Name | Default Value | Description -- | -- | -- --td-popup-bg-color | @bg-color-container | - --td-popup-border-radius | @radius-default | - --td-popup-close-btn-color | @text-color-primary | -