# vue-notify-brief

> A Vue.js project

Latest version **1.0.6** (published 2020-07-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-notify-brief
pnpm add vue-notify-brief
yarn add vue-notify-brief
bun add vue-notify-brief
```

## 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.6 |
| Published | 2020-07-28 |
| First published | 2020-07-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 132.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | YangJiDong |
| Maintainers | yangjidong |

## Links

- npm: https://www.npmjs.com/package/vue-notify-brief
- npm.io page: https://npm.io/package/vue-notify-brief

## Dependencies (2)

- [url-loader](https://npm.io/package/url-loader.md) ^4.1.0
- [babel-plugin-transform-runtime](https://npm.io/package/babel-plugin-transform-runtime.md) ^6.23.0

## Recent versions

- 1.0.6 (latest) — 2020-07-28
- 1.0.5 — 2020-07-24
- 1.0.4 — 2020-07-24
- 1.0.3 — 2020-07-24
- 1.0.2 — 2020-07-24
- 1.0.1 — 2020-07-24
- 1.0.0 — 2020-07-24

## README

# vue-notice-brief

`
npm i vue-notify-brief
`

`
import vueNotifySimple from 'vue-notify-brief'
`

`
Vue.use(vueNotifySimple)
`

#使用参数

```
this.$notice({
  title: "标题",
  content: "消息内容",
  cancelTxt: "取消按钮文本",
  confirmTxt: "确认按钮文本",
  confirm: true,    // 是否显示 取消/确认 按钮 默认：false
  icon: false,      // 是否显示 标题/icon 默认：false(显示标题不显示icon)
  isOver: true,     // 是否显示蒙层 默认：false
}).then(result => {
  if (result == 'confirm') {       // 点击确认回调
    // do something
  } else if (result == 'cancel') { // 点击取消回调
    // do something
  }
})
```

---
_Source: https://npm.io/package/vue-notify-brief · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
