0.5.0 • Published 8 years ago
nu-modal-vue v0.5.0
NikUi Modal ( nu-modal.vue )
A simple and versatile dialog box component for a project on vue.js!
Installation
$ npm install nu-modal-vue --save
Examples
import NuModal from 'nu-modal-vue'
Vue.use(NuModal);
<template>
<nu-modal ref="modal" title="">
...
</nu-modal>
<button @click="init-your-method-name"></button>
</template>
<script>
import NuBreadcrumbs from 'nu-breadcrumbs'
export default {
methods: {
init-your-method-name: function () {
this.$refs.modal.open()
}
}
}
</script>