Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/motea927/mt-vue2-modal
A promise based, highly customize modal component for vue2
https://github.com/motea927/mt-vue2-modal
modal vuejs
Last synced: about 6 hours ago
JSON representation
A promise based, highly customize modal component for vue2
- Host: GitHub
- URL: https://github.com/motea927/mt-vue2-modal
- Owner: motea927
- Created: 2021-12-16T02:26:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-19T08:10:36.000Z (almost 3 years ago)
- Last Synced: 2024-11-15T07:35:27.039Z (5 days ago)
- Topics: modal, vuejs
- Language: JavaScript
- Homepage:
- Size: 271 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MT Vue2 Modal
A promise based, highly customize modal component
## Why use
Suppose your application has many different modal components, if you use [dynamic-component](https://vuejs.org/v2/guide/components-dynamic-async.html), you will find that your business logic is around all of components, that will hard to read and hard maintainable, so use promise based modal component can improve code readability and management.
## Documentation
[Documentation](https://motea927.github.io/mt-vue2-modal/)
## Online Demo
We use `codesandbox.io` to show you how to use mt-vue2-modal
- [`showDefaultModal`](https://codesandbox.io/s/mt-vue2-modal-show-default-modal-050lu): Use default modal to show simple text
- [`show`](https://codesandbox.io/s/mt-vue2-modal-show-3lcxu): Use custom component to show highly customize content and logic