|
5 months ago | |
---|---|---|
.. | ||
README.en-US.md | 5 months ago | |
README.md | 5 months ago | |
index.d.ts | 5 months ago | |
index.js | 5 months ago | |
props.d.ts | 5 months ago | |
props.js | 5 months ago | |
toast.d.ts | 5 months ago | |
toast.js | 5 months ago | |
toast.json | 5 months ago | |
toast.wxml | 5 months ago | |
toast.wxss | 5 months ago | |
type.d.ts | 5 months ago | |
type.js | 5 months ago |
:: BASE_DOC ::
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
direction | String | row | options: row/column | N
duration | Number | 2000 | - | N
icon | String / Object / Slot | - | see more ts definition | N
message | String / Slot | - | see more ts definition | N
overlay-props | Object | - | Typescript:OverlayProps
,Overlay API Documents。see more ts definition | N
placement | String | middle | options: top/middle/bottom | N
prevent-scroll-through | Boolean | false | - | N
show-overlay | Boolean | false | - | N
theme | String | - | options: loading/success/error | N
using-custom-navbar | Boolean | false | - | N
name | params | description -- | -- | -- close | - | - destroy | - | -
className | Description -- | -- t-class | -
The component provides the following CSS variables, which can be used to customize styles. Name | Default Value | Description -- | -- | -- --td-toast-bg-color | @font-gray-2 | - --td-toast-color | @font-white-1 | - --td-toast-column-icon-size | 64rpx | - --td-toast-max-width | 374rpx | - --td-toast-radius | 8rpx | - --td-toast-row-icon-size | 48rpx | -