ado5 3903c18ce2 first commit | 9 bulan lalu | |
---|---|---|
.. | ||
README.en-US.md | 9 bulan lalu | |
README.md | 9 bulan lalu | |
api.md | 9 bulan lalu | |
index.d.ts | 9 bulan lalu | |
index.js | 9 bulan lalu | |
message.d.ts | 9 bulan lalu | |
message.interface.d.ts | 9 bulan lalu | |
message.interface.js | 9 bulan lalu | |
message.js | 9 bulan lalu | |
message.json | 9 bulan lalu | |
message.wxml | 9 bulan lalu | |
message.wxs | 9 bulan lalu | |
message.wxss | 9 bulan lalu | |
props.d.ts | 9 bulan lalu | |
props.js | 9 bulan lalu | |
type.d.ts | 9 bulan lalu | |
type.js | 9 bulan lalu |
:: BASE_DOC ::
name | type | default | description | required
-- | -- | -- | -- | --
action | String / Slot | - | operation | N
align | String | left | options:left/center。Typescript:MessageAlignType
type MessageAlignType = 'left' \| 'center'
。see more ts definition | N
close-btn | String / Boolean / Slot | false | - | N
content | String / Slot | - | - | N
custom-style v0.25.0
| String | - | - | N
duration | Number | 3000 | - | N
external-classes | Array | - | ['t-class', 't-class-content', 't-class-icon', 't-class-action', 't-class-close-btn']
| N
icon | String / Boolean / Slot | true | Typescript:boolean \| 'info' \| 'bell'
| N
marquee | Boolean / Object | false | Typescript:boolean \| DrawMarquee
interface DrawMarquee { speed?: number; loop?: number; delay?: number }
。see more ts definition | N
offset | Array | - | Typescript:Array<string \| number>
| N
theme | String | info | options:info/success/warning/error。Typescript:MessageThemeList
type MessageThemeList = 'info' \| 'success' \| 'warning' \| 'error'
。see more ts definition | N
visible | Boolean | false | - | N
default-visible | Boolean | false | uncontrolled property | N
z-index | Number | 15000 | - | N
name | params | description -- | -- | -- action-btn-click | - | - close-btn-click | - | - duration-end | - | -