# vue-co-dialog

> 这是一个简洁，智能，个性化的JAVASCRIPT弹出框

Latest version **1.0.2** (published 2018-11-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-co-dialog
pnpm add vue-co-dialog
yarn add vue-co-dialog
bun add vue-co-dialog
```

## 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.2 |
| Published | 2018-11-11 |
| First published | 2018-11-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | koringz |
| Maintainers | koringz |
| Keywords | dialog, alert, popup, promp, notifi, codialog, tips |

## Links

- npm: https://www.npmjs.com/package/vue-co-dialog
- Repository: https://github.com/ZWLTZ/vue-co-dialog
- Homepage: https://github.com/ZWLTZ/vue-co-dialog#readme
- Issues: https://github.com/ZWLTZ/vue-co-dialog/issues
- npm.io page: https://npm.io/package/vue-co-dialog

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^2.5.17

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [@praxisui/dialog](https://npm.io/package/@praxisui/dialog.md) — 2.0K weekly downloads
- [easy-toggle-state](https://npm.io/package/easy-toggle-state.md) — 350 weekly downloads
- [ngx-lightbox-evp](https://npm.io/package/ngx-lightbox-evp.md) — 19 weekly downloads
- [react-native-modal-translucent-axton](https://npm.io/package/react-native-modal-translucent-axton.md) — 4 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2018-11-11
- 1.0.0 — 2018-11-11

## README

## vue-co-dialog
基于[co-dialog.js](https://github.com/ZWLTZ/co-dialog) `v2.0.8`弹出框 和 依赖于[vue.js](https://cn.vuejs.org/v2/guide/)`2.5.17`框架封装.

## install
  - npm(cmd)

```bash
npm install co-dialog vue-co-dialog
```

并且你需要再你的文件里添加以下代码：

```js
import Vue from 'vue'
import coog from 'co-dialog'
import VueCoog from 'vue-co-dialog'

Vue.use(VueCoog, coog)
```

## 使用

于是你就可以获得vue绑定的$coog弹出框的API.
你可以想下面这样调用$coog:
```js
Vue.$coog.app('.coog').use('Test', '测试完成', 'success').show();

this.$coog.app('.coog').use('Test', '测试完成', 'success').show();
```

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