0.2.1 • Published 4 years ago

v-fm v0.2.1

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

fullpage style vue modal

Documentation

Checkout Documentation📝

Install

npm install v-fm

Usage

Use Plugin

import FullpageModal from 'v-fm'

Vue.use(FullpageModal)

Use in Component

<template>
  <div>
    <button @click="openModal">open</button>
  </div>
</template>
<script>
import Component from './Component'

export default {
// ...
  methods: {
    openModal() {
      this.$FModal.show({ component: Component }, { foo: 'foo', bar: 'bar' })
    }
  }
}
</script>

Contributor

👥 Medistream

📝 License

Copyright © 2021 Medistream This project is MIT licensed.

0.2.1

4 years ago