1.0.13-rc.3 • Published 5 years ago

@beisen-platform/platform-confirm v1.0.13-rc.3

Weekly downloads
22
License
ISC
Repository
gitlab
Last release
5 years ago

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}/>