Toast 组件 #6
oasis-cloud
started this conversation in
General
Replies: 0 comments 2 replies
-
nutui toast 参数目前不够完善 const defaultOptions = {
msg: '',
id: '',
duration: 2000, //显示时间(毫秒)
center: true, // 未实现
type: 'text',
customClass: '',// 未实现
bottom: 30, // 未实现
size: 'base', // 未实现
icon: null, // 未实现
textAlignCenter: true,// 未实现
loadingRotate: true,// 未实现
bgColor: 'rgba(0, 0, 0, .8)',
onClose: null, // 未实现
unmount: null,
cover: false, //透明遮罩层 // 未实现
coverColor: 'rgba(0, 0, 0, 0)', // 未实现
closeOnClickOverlay: false // 未实现
}; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions