|
|
2 tahun lalu | |
|---|---|---|
| .. | ||
| README.en-US.md | 2 tahun lalu | |
| README.md | 2 tahun lalu | |
| notice-bar.d.ts | 2 tahun lalu | |
| notice-bar.js | 2 tahun lalu | |
| notice-bar.json | 2 tahun lalu | |
| notice-bar.wxml | 2 tahun lalu | |
| notice-bar.wxss | 2 tahun lalu | |
| props.d.ts | 2 tahun lalu | |
| props.js | 2 tahun lalu | |
| type.d.ts | 2 tahun lalu | |
| type.js | 2 tahun lalu | |
:: BASE_DOC ::
name | type | default | description | required
-- | -- | -- | -- | --
content | String / Array / Slot | - | - | N
direction | String | horizontal | options:horizontal/vertical | N
external-classes | Array | - | ['t-class', 't-class-content', 't-class-prefix-icon', 't-class-extra', 't-class-suffix-icon'] | N
extra | String / Slot | - | - | N
marquee | Boolean / Object | false | Typescript:boolean \| DrawMarquee interface DrawMarquee { speed?: number; loop?: number; delay?: number }。see more ts definition | N
prefix-icon | String / Boolean/ Object / Slot | - | - | N
suffix-icon | String / Boolean / Object / Slot | - | - | N
theme | String | info | options:info/success/warning/error | N
visible | Boolean | false | - | N
default-visible | Boolean | false | uncontrolled property | N
name | params | description
-- | -- | --
click | (trigger: NoticeBarTrigger) | see more ts definition。type NoticeBarTrigger = 'prefix-icon' \| 'content' \| 'extra' \| 'suffix-icon';