You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lsl 7e355978ae
初始化提交代码
3 years ago
..
README.en-US.md 初始化提交代码 3 years ago
README.md 初始化提交代码 3 years ago
notice-bar.d.ts 初始化提交代码 3 years ago
notice-bar.js 初始化提交代码 3 years ago
notice-bar.json 初始化提交代码 3 years ago
notice-bar.wxml 初始化提交代码 3 years ago
notice-bar.wxss 初始化提交代码 3 years ago
props.d.ts 初始化提交代码 3 years ago
props.js 初始化提交代码 3 years ago
type.d.ts 初始化提交代码 3 years ago
type.js 初始化提交代码 3 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';