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
index.d.ts 初始化提交代码 3 years ago
index.js 初始化提交代码 3 years ago
message.d.ts 初始化提交代码 3 years ago
message.interface.d.ts 初始化提交代码 3 years ago
message.interface.js 初始化提交代码 3 years ago
message.js 初始化提交代码 3 years ago
message.json 初始化提交代码 3 years ago
message.wxml 初始化提交代码 3 years ago
message.wxs 初始化提交代码 3 years ago
message.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

Message Props

name type default description required
action String / Slot - operation N
align String left optionsleft/center。TypescriptMessageAlignType type MessageAlignType = 'left' | 'center'see more ts definition N
close-btn String / Boolean / Object / Slot false - N
content String / Slot - - N
duration Number 3000 - N
external-classes Array - ['t-class', 't-class-content', 't-class-icon', 't-class-link', 't-class-close-btn'] N
icon String / Boolean / Object/ Slot true Typescriptboolean | 'info' | 'bell' N
marquee Boolean / Object false Typescriptboolean | DrawMarquee interface DrawMarquee { speed?: number; loop?: number; delay?: number }see more ts definition N
offset Array - TypescriptArray<string | number> N
theme String info optionsinfo/success/warning/error。TypescriptMessageThemeList type MessageThemeList = 'info' | 'success' | 'warning' | 'error'see more ts definition N
visible Boolean false - N
default-visible Boolean false uncontrolled property N
z-index Number 15000 - N

Message Events

name params description
action-btn-click - -
close-btn-click - -
duration-end - -
link-click - -