# insight-plugin-dialog

> Insight-dialog

Latest version **3.1.3** (published 2019-01-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install insight-plugin-dialog
pnpm add insight-plugin-dialog
yarn add insight-plugin-dialog
bun add insight-plugin-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 | 3.1.3 |
| Published | 2019-01-30 |
| First published | 2019-01-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 79.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | RZcccccc |
| Maintainers | zc_ruan |
| Keywords | dialog, insight |

## Links

- npm: https://www.npmjs.com/package/insight-plugin-dialog
- npm.io page: https://npm.io/package/insight-plugin-dialog

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [post-robot](https://npm.io/package/post-robot.md) — 93.7K 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

## Recent versions

- 3.1.3 (latest) — 2019-01-30
- 3.1.2 — 2019-01-28
- 3.1.0 — 2019-01-28
- 3.0.0 — 2019-01-28
- 2.9.7 — 2019-01-28
- 2.9.3 — 2019-01-28
- 2.8.9 — 2019-01-28
- 2.7.4 — 2019-01-28
- 2.7.3 — 2019-01-28

## README

# insight-plugin-dialog

> 高灵活度弹窗插件

## Build Setup

``` bash
# 安装弹窗插件
npm install insight-plugin-dialog --save-dev

使用:
import * as dia from "insight-plugin-dialog";

new dia.Dialog({
  opacity:0.5, //蒙层透明度：0-1; 默认：1;
  width:598, //宽度，单位：px; 元素高宽度; 默认：500;
  height:338, //高度，单位：px; 元素高度; 默认：500;
  touchClose:true, //点击空白区域关闭弹窗; 默认：false;
  closeBtn:true, //开启关闭按钮; 默认：false;
});


# 属性： 
 el: string;
	弹窗id名称（唯一）；默认：dialog;
 width: number;
	宽度，单位：px; 元素高宽度;  默认：500;
 height: number;
	 高度，单位：px; 元素高度;  默认：500;
 opacity: number;
	 蒙层透明度：0-1;  默认：1;
 touchClose: boolean;
	 点击空白区域关闭弹窗;  默认：false;
 closeBtn: boolean;
	 开启关闭按钮;  默认：false;
 closeEle: string;
	 关闭按钮类名; 默认：dialog-close-btn; 


# 方法： 
 showDialog();
	显示弹窗
 hideDialog();
	关闭弹窗


```

For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

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