pengliheng-component
1.0.1 • Public • Published usage
效果预览
- message 组件弹出框
message({
type: "info",
time: 1000,
content: `弹出框内容!`
})
- modal / modalInfo / modalConfirm
Modal({
title: `标题`,
content: `内容`,
callback: ()=>console.log('回调函数!')
})
ModalInfo({
type: `error`,
title: `标题`,
content: `内容`,
callback: () => console.log("确认")
})
ModalConfirm({
type: `error`,
title: `标题`,
content: `内容`,
callback: () => console.log("确认")
})
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.1
1
Version History
- VersionDownloads (Last 7 Days)
- 1.0.1
1
Package Sidebar
Install
npm i pengliheng-component
Weekly Downloads