:: BASE_DOC ::
name | type | default | description | required |
---|---|---|---|---|
content | String / Array / Slot / Function | - | Typescript:string | string[] | TNode 。see more ts definition |
N |
direction | String | horizontal | options:horizontal/vertical | N |
marquee | Boolean / Object | false | Typescript:boolean | DrawMarquee interface DrawMarquee { speed?: number; loop?: number; delay?: number } 。see more ts definition |
N |
operation | String / Slot / Function | - | Typescript:string | TNode 。see more ts definition |
N |
prefixIcon | Boolean / Slot / Function | - | Typescript:`Boolean \ | TNode | Function`。see more ts definition |
suffixIcon | Slot / Function | - | Typescript:TNode 。see more ts definition |
N |
theme | String | info | options:info/success/warning/error | N |
visible | Boolean | false | v-model and v-model:visible is supported |
N |
defaultVisible | Boolean | false | uncontrolled property | N |
onClick | Function | Typescript:(trigger: NoticeBarTrigger) => void see more ts definition。 type NoticeBarTrigger = 'prefix-icon' | 'content' | 'operation' | 'suffix-icon'; |
N |
name | params | description |
---|---|---|
click | (trigger: NoticeBarTrigger) |
see more ts definition。type NoticeBarTrigger = 'prefix-icon' | 'content' | 'operation' | 'suffix-icon'; |