vue-modal-dialogs
vuejs-confirm-dialog
vue-modal-dialogs | vuejs-confirm-dialog | |
---|---|---|
1 | 1 | |
293 | 59 | |
- | - | |
0.0 | 4.2 | |
over 2 years ago | 6 months ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vue-modal-dialogs
-
The simplest way to deal with modal dialogs in Vue 3
It would be useful to create a function that would take a dialog component and control its rendering in the template. The function would return an object containing the state of the dialog and methods, so that it could be possible to work with it like with promises. For example, this plugin vue-modal-dialogs implements this functionality. Unfortunately, it has not been updated for a long time and does not support Vue 3.
vuejs-confirm-dialog
-
The simplest way to deal with modal dialogs in Vue 3
In this guide I will introduce the vuejs-confirm-dialog plugin and show how to use it. I'll start with simple examples and end up with a function which completely abstracts the popup dialog to confirm an action and can be used in any component of your project. The examples are written in JavaScript for easy reading, but the plugin itself is in TypeScript. The plugin is fully typed and documented, which makes it much easier to work with it. Unlike vue-modal-dialogs, this plugin has additional functionality - special hooks: onConfirm and onCancel. They accept a callback and are called depending on the user's decision: onConfirm if the user agrees and onCancel if he refuses.
What are some alternatives?
AlertifyJS - A javascript framework for developing pretty browser dialogs and notifications.
composition-api - Composition API hooks for Nuxt 2.
smalltalk - Promise-based Alert, Confirm and Prompt replacement
motion - π€Ή Vue Composables putting your components in motion
π¦ Modali - A delightful modal dialog component for React, built from the ground up to support React Hooks.
vue-composable - Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
jBox - jBox is a jQuery plugin that makes it easy to create customizable tooltips, modal windows, image galleries and more.
vue-modal - πThe progressive and simple modal system for Vue.js v3
sweetalert2 - β¨ A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. πΊπ¦
vue-toastification - Vue notifications made easy!
pinia - π Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support [Moved to: https://github.com/vuejs/pinia]
pinia - π Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support