vuejs-confirm-dialog
vue-modal-dialogs
vuejs-confirm-dialog | vue-modal-dialogs | |
---|---|---|
1 | 1 | |
59 | 293 | |
- | - | |
4.2 | 0.0 | |
4 months ago | about 2 years ago | |
TypeScript | JavaScript | |
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.
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.
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.
What are some alternatives?
vue-composable - Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
AlertifyJS - A javascript framework for developing pretty browser dialogs and notifications.
pinia - π Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
smalltalk - Promise-based Alert, Confirm and Prompt replacement
composition-api - Composition API hooks for Nuxt 2.
π¦ Modali - A delightful modal dialog component for React, built from the ground up to support React Hooks.
motion - π€Ή Vue Composables putting your components in motion
pinia - π Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support [Moved to: https://github.com/vuejs/pinia]
vue-modal - πThe progressive and simple modal system for Vue.js v3
vue-toastification - Vue notifications made easy!
ngx-simple-modal - A simple unopinionated framework to implement simple modal based behaviour in angular (v2+) projects.