xiahan cb6ddd3787 feature 代码提交 5 months ago
..
README.en-US.md cb6ddd3787 feature 代码提交 5 months ago
README.md cb6ddd3787 feature 代码提交 5 months ago
index.d.ts cb6ddd3787 feature 代码提交 5 months ago
index.js cb6ddd3787 feature 代码提交 5 months ago
overlay.d.ts cb6ddd3787 feature 代码提交 5 months ago
overlay.js cb6ddd3787 feature 代码提交 5 months ago
overlay.json cb6ddd3787 feature 代码提交 5 months ago
overlay.wxml cb6ddd3787 feature 代码提交 5 months ago
overlay.wxss cb6ddd3787 feature 代码提交 5 months ago
props.d.ts cb6ddd3787 feature 代码提交 5 months ago
props.js cb6ddd3787 feature 代码提交 5 months ago
type.d.ts cb6ddd3787 feature 代码提交 5 months ago
type.js cb6ddd3787 feature 代码提交 5 months ago

README.en-US.md

API

Overlay 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 background-color | String | - | - | N duration | Number | 300 | - | N prevent-scroll-through | Boolean | true | - | N using-custom-navbar | Boolean | false | - | N visible | Boolean | false | - | N z-index | Number | 11000 | - | N

Overlay Events

name | params | description -- | -- | -- click | ({ visible: boolean }) | -

CSS Variables

The component provides the following CSS variables, which can be used to customize styles. Name | Default Value | Description -- | -- | -- --td-overlay-bg-color | @font-gray-2 | - --td-overlay-transition-duration | 300ms | -