0.0.16 • Published 6 years ago

vue2-modal-popup v0.0.16

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

Vue2ModalPopup

Vue2ModalPopup Component for Vue 2.x

Install

    npm install vue2-modal-popup --save

Usage

1. Import the component

import Vue2ModalPopup from 'vue2-modal-popup';

2.1 Use it globally

Vue.use(Vue2ModalPopup);

3. Inside your app or component:

import MyComponent from './MyComponent.vue';

 
methods: {
    load() {
        // this.$modal.show(Component, data, options);
        this.$modal.show(MyComponent, 'path (like v-model)', {backdrop: 'static'})
            .then((data) => this.item = data);
    }
}

Example

See index.html for example use

Contributing

Contributions are welcome

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build
0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago