Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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