vue模态对话框_Vue.js的基于Promise的模态对话框助手

vue模态对话框

语音模态对话 (vue-modal-dialogs)

Dialogs are a typical and essential user interaction in interactive applications. But implementing dialogs are not an easy thing in front-end web development.

对话框是交互式应用程序中典型且必不可少的用户交互。 但是,在前端Web开发中实现对话框并非易事。

vue-modal-dialogs is a super light-weighted library aimed to help developers to easily use dialogs by the advantage of Vue.js, Promise, and async function.

vue-modal-dialogs是一个超轻量级的库,旨在利用Vue.js,Promise和异步功能的优势,帮助开发人员轻松使用对话框。

特征 (Features)

  • ✅ Light weighted (~1kb min+gzip)

    ✅轻量级(〜1kb min + gzip)

  • ✅ Promise based

    ✅基于承诺

  • ✅ Functional programming

    ✅功能编程

  • ✅ Full customizable

    ✅完全可定制

  • ✅ Place everything you want into that dialog

    ✅将您想要的所有内容放入该对话框

Features below is not provided. You can achieve them by yourself:

提供以下功能。 您可以自己实现它们:

  • ❌ Pre-defined dialog style

    ❌预定义对话框样式

  • ❌ Shortcut function in Vue's prototype

    ue Vue原型中的快捷功能

安装 (Installation)

Install via npm or yarn (recommended)

通过npmyarn进行安装(推荐)

# Use npm
npm install vue-modal-dialogs --save

# Use yarn
yarn add vue-modal-dialogs

作者 (Author)

hjkcai

翻译自: https://vuejsexamples.com/a-promise-based-modal-dialog-helper-for-vue-js/

vue模态对话框

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值