You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Joe 9b449c2688 first commit 2 years ago
..
README.en-US.md first commit 2 years ago
README.md first commit 2 years ago
notice-bar.d.ts first commit 2 years ago
notice-bar.js first commit 2 years ago
notice-bar.json first commit 2 years ago
notice-bar.wxml first commit 2 years ago
notice-bar.wxss first commit 2 years ago
props.d.ts first commit 2 years ago
props.js first commit 2 years ago
type.d.ts first commit 2 years ago
type.js first commit 2 years ago

README.en-US.md

:: BASE_DOC ::

API

NoticeBar Props

name type default description required
content String / Array / Slot - - N
direction String horizontal optionshorizontal/vertical N
external-classes Array - ['t-class', 't-class-content', 't-class-prefix-icon', 't-class-operation', 't-class-suffix-icon'] N
operation String / Slot - - N
marquee Boolean / Object false Typescriptboolean | 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 optionsinfo/success/warning/error N
visible Boolean false - N
default-visible Boolean false uncontrolled property N

NoticeBar Events

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