0.1.3 • Published 2 years ago

@moreillon/vue_modal v0.1.3

Weekly downloads
21
License
MIT
Repository
-
Last release
2 years ago

Vue Modal

This is a modal component for Vue.js.

Usage

<template>
  <div>

    <h1>Modal</h1>

    <button
      type="button" @click="open = !open">
      Open modal
    </button>

    <Modal
      @close="open = false"
      :open="open">
      <h2>Modal</h2>
      <p>
        This is the modal content.
      </p>
    </Modal>

  </div>
</template>

<script>
import Modal from '@moreillon/vue_modal'

export default {
  name: 'app',
  components: {
    Modal
  },
  data(){
    return{
      open: false
    }
  }
}
</script>
0.1.2

2 years ago

0.1.1

2 years ago

0.1.3

2 years ago

0.1.0

3 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago