# @beisen-platform/platform-confirm

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

Latest version **1.0.13-rc.3** (published 2019-10-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install @beisen-platform/platform-confirm
pnpm add @beisen-platform/platform-confirm
yarn add @beisen-platform/platform-confirm
bun add @beisen-platform/platform-confirm
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.13-rc.3 |
| Published | 2019-10-28 |
| First published | 2018-12-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 24.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | beisencorp |

## Links

- npm: https://www.npmjs.com/package/@beisen-platform/platform-confirm
- Repository: git@gitlab.beisencorp.com:ux-share-platform/ux-platform-confirm
- npm.io page: https://npm.io/package/@beisen-platform/platform-confirm

## Recent versions

- 1.0.13-rc.3 (latest) — 2019-10-28
- 1.0.13-rc.1 — 2019-07-17
- 1.0.13 — 2019-06-12
- 1.0.12 — 2019-05-16
- 1.0.10-rc.1 — 2019-04-28
- 1.0.10 — 2019-04-14
- 1.0.9 — 2019-04-10
- 1.0.8 — 2019-03-22
- 1.0.6 — 2019-01-31
- 1.0.5 — 2019-01-31
- 1.0.4 — 2019-01-30
- 1.0.3 — 2019-01-30
- 1.0.2 — 2019-01-21
- 1.0.0 — 2019-01-18
- 0.0.4 — 2018-12-02

## README

### Platform-Confirm 使用说明
> 提示弹层默认是放在屏幕头部左上角，并且会出现透明遮罩

#### 项目运行
- npm install
- npm run examples
- npm run lib (打包)

#### Platform-Confirm 参数

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

<Confirm  {...props}/>
```

---
_Source: https://npm.io/package/@beisen-platform/platform-confirm · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
