0.0.16 • Published 7 years ago

vue2-modal-popup v0.0.16

Weekly downloads
4
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago