# jx-vue2-toast

> A Vue.js project,vue-toast,vuejs,vue

Latest version **1.2.1** (published 2022-11-18) · 0 weekly downloads

## Install

```sh
npm install jx-vue2-toast
pnpm add jx-vue2-toast
yarn add jx-vue2-toast
bun add jx-vue2-toast
```

## 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.2.1 |
| Published | 2022-11-18 |
| First published | 2022-08-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 6.0.0 |
| Dependencies | 1 |
| Unpacked size | 19.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | bingo1992 |
| Maintainers | bingo1992 |
| Keywords | toast, vue2 |

## Links

- npm: https://www.npmjs.com/package/jx-vue2-toast
- npm.io page: https://npm.io/package/jx-vue2-toast

## Dependencies (1)

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

## 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.2.1 (latest) — 2022-11-18
- 1.2.0 — 2022-11-18
- 1.1.2 — 2022-11-11
- 1.1.1 — 2022-11-11
- 1.1.0 — 2022-08-19
- 1.0.0 — 2022-08-19
- 0.1.1 — 2022-08-18
- 0.0.3 — 2022-08-17
- 0.0.2 — 2022-08-16
- 0.0.1 — 2022-08-15

## README

## 介绍 
基于vue2.0的toast弹窗组件

## 组件使用

>安装

```bash
npm i jx-vue2-toast --save
```

>初始化

```js
import Toast from 'jx-vue2-toast';
Vue.use(Toast);
```

>使用

```js
 <script>

 export default {
   name: 'App', 
   mounted() {
      //  弹窗提示 ，2秒后自动关闭
      this.$toast({title: '', duration: 2000})  // duration默认2000
      // 加载中
      this.$showLoading({title: ''})
      // 取消加载 
      this.$hideLoading()

   },

 }
 </script>

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