1.0.0 • Published 1 year ago

jx-toast v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

介绍

基于vue3.0的toast弹窗组件

组件使用

安装

npm i jx-toast --save

初始化

import Toast from 'jx-toast';
Vue.use(Toast);

使用

 <script>

 export default {
   name: 'App', 
   mounted() {
      //  弹窗提示 ,2秒后自动关闭
      this.$toast({title: '', duration: 2000})  // duration默认2000
      // 加载中,默认title:加载中
      this.$showLoading({title: '加载中'})
      // 取消加载 
      this.$hideLoading()

   },

 }
 </script>

 
1.0.0

1 year ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago