@beisen-platform/platform-confirm

1.0.13-rc.3 • Public • Published

Platform-Confirm 使用说明

提示弹层默认是放在屏幕头部左上角,并且会出现透明遮罩

项目运行

  • npm install
  • npm run examples
  • npm run lib (打包)

Platform-Confirm 参数

const props = {
	title:'显示的内容' //要显示的内容 默认是  "是否要执行此操作
	top: 0, //按钮左上角定位 
	left: 0, //按钮左上角定位 
	width: 0, //按钮的宽度
	height: 0, //按钮的高度
	onSure: ()=>{ console.log('确定的回调函数') } 
	onClose = () => { console.log('取消的回调函数') }
}

<Confirm  {...props}/>

Readme

Keywords

none

Package Sidebar

Install

npm i @beisen-platform/platform-confirm

Weekly Downloads

8

Version

1.0.13-rc.3

License

ISC

Unpacked Size

25.4 kB

Total Files

12

Last publish

Collaborators

  • beisencorp