Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.93 KB

notice-bar.en-US.md

File metadata and controls

23 lines (19 loc) · 1.93 KB

:: BASE_DOC ::

API

NoticeBar Props

name type default description required
content String / Array / Slot / Function - Typescript:string | string[] | TNodesee 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 | TNodesee more ts definition N
prefixIcon Boolean / Slot / Function - Typescript:`Boolean \ TNode | Function`。see more ts definition
suffixIcon Slot / Function - Typescript:TNodesee 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

NoticeBar Events

name params description
click (trigger: NoticeBarTrigger) see more ts definition
type NoticeBarTrigger = 'prefix-icon' | 'content' | 'operation' | 'suffix-icon';