# @winman-f2e/nw-confirm

> nw-confirm

Latest version **1.25.2** (published 2019-05-23) · 0 weekly downloads

## Install

```sh
npm install @winman-f2e/nw-confirm
pnpm add @winman-f2e/nw-confirm
yarn add @winman-f2e/nw-confirm
bun add @winman-f2e/nw-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.25.2 |
| Published | 2019-05-23 |
| First published | 2019-05-23 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | aflyermin, shenyuan, juzhikan, ansenhuang, yun77op, azgaga, longyunxia, sherrywu, liushichuan, wuww5511, yaochen |

## Links

- npm: https://www.npmjs.com/package/@winman-f2e/nw-confirm
- npm.io page: https://npm.io/package/@winman-f2e/nw-confirm

## Recent versions

- 1.25.2 (latest) — 2019-05-23

## README

# nw-confirm

## 安装
`$ yarn add nw-confirm`

## 使用
```
import confirm from 'nw-confirm'

confirm({
    content: '我是一些内容，很长的内容爱啦啦阿拉啦啦啦啦啦',
    okText: '确定',
    cancelText: '取消'
}).then(() => {
    console.log('确定')
}).catch(() => {
    console.log('取消')
})
```

接受的参数
```
{
    content = '', 
    okText = '确定', 
    cancelText = '取消',
    maskClosable = true,
    maskStyle = {},
    maskClassName = ''
}
```

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