# vue-images-toastes

> vue-images-toastes Plugin

Latest version **1.0.10** (published 2018-07-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-images-toastes
pnpm add vue-images-toastes
yarn add vue-images-toastes
bun add vue-images-toastes
```

## 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.10 |
| Published | 2018-07-14 |
| First published | 2018-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 65.3 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | fairyly |
| Maintainers | yhqfairy |
| Keywords | vue-plugin, vue-images-toastes, vue-images, vue-toastes, images-toastes |

## Links

- npm: https://www.npmjs.com/package/vue-images-toastes
- Repository: https://github.com/front-ends-developers/vue-images-toastes
- Homepage: https://github.com/front-ends-developers/vue-images-toastes#readme
- Issues: https://github.com/front-ends-developers/vue-images-toastes/issues
- npm.io page: https://npm.io/package/vue-images-toastes

## Dependencies (1)

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

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 1.0.10 (latest) — 2018-07-14
- 1.0.9 — 2018-07-14
- 1.0.8 — 2018-07-14
- 1.0.6 — 2018-07-14
- 1.0.5 — 2018-07-14
- 1.0.3 — 2018-07-14
- 1.0.2 — 2018-07-14
- 1.0.1 — 2018-07-14

## README

# vue-images-toastes


> A Vue.js vue-images-toastes Plugin


## Install
```shell
npm install vue-images-toastes -S
```

## how to use
```
// main.js
import vueImagesToastes from 'vue-images-toastes'

Vue.use(vueImagesToastes)

// 使用页面
<img :src="src" alt="img" @click="showImage(src)"/>
<vue-images-toastes :imgUrl="imgUrl" :imgShowFlag="imgShowFlag" @hideImage="hideImage"></vue-images-toastes>

data() {
  return {
    // 可传参数
    imgShowFlag: false, // 是否弹框显示,true: 显示；false: 不显示
    imgUrl: '', // 图片 src
  }
}

methods: {
  showImage(src) {
    var that = this
    that.imgShowFlag = true;
    that.imgUrl = src;
  },
  hideImage(val) {
    var that = this
    that.imgShowFlag = val
  }
},
```

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