WGShare.Client.Wx/miniprogram_npm/tdesign-miniprogram/notice-bar
yj d281aab5b3 Initial Commit 2024-11-11 14:16:29 +08:00
..
README.en-US.md Initial Commit 2024-11-11 14:16:29 +08:00
README.md Initial Commit 2024-11-11 14:16:29 +08:00
notice-bar.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
notice-bar.js Initial Commit 2024-11-11 14:16:29 +08:00
notice-bar.json Initial Commit 2024-11-11 14:16:29 +08:00
notice-bar.wxml Initial Commit 2024-11-11 14:16:29 +08:00
notice-bar.wxss Initial Commit 2024-11-11 14:16:29 +08:00
props.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
props.js Initial Commit 2024-11-11 14:16:29 +08:00
type.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
type.js Initial Commit 2024-11-11 14:16:29 +08:00

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';