2016-11-14 16:01:56 +00:00
2016-11-14 16:01:56 +00:00
2016-11-14 16:01:56 +00:00
2016-11-14 15:46:37 +00:00
2016-11-14 16:01:56 +00:00
2016-11-14 12:16:39 +00:00
2016-11-14 12:16:39 +00:00
2016-11-14 12:16:39 +00:00
2016-11-14 15:46:37 +00:00
2016-11-14 16:01:56 +00:00
2016-11-14 12:50:30 +00:00

vue-modal

A simple modal component for Vue.js

##Install

##Usage Example:

main.js:

import Vue from 'vue';
import App from './App';
import VueModal from 'vue-modal';

Vue.use(VueModal);

new Vue({
  el: '#app',
  template: '<App/>',
  components: { App },
});

App.vue:

<template>
  <div id="app">
    <h1>Test page</h1>
    <button @click="modal('basic')">Show modal</button>
    <modal name="basic">Hello! Im a modal!</modal>
  </div>
</template>

<script>
export default {
  name: 'app',
  methods: {
    modal(name) => this.$modal.show(name),
  },
};
</script>

##License MIT

Description
🍕 Simple to use, highly customizable, mobile friendly Vue.js 2.0+ modal.
Readme 2 MiB
Languages
Vue 70.8%
JavaScript 27.9%
TypeScript 1.3%