src_js/iconolab-bundle/src/components/modalpanel/ModalPanel.vue
author ymh <ymh.work@gmail.com>
Wed, 06 Jun 2018 16:21:54 +0200
changeset 539 08e2513dbc2f
parent 156 e1e14766f608
permissions -rw-r--r--
Upgrade webpack to 4, upgrade vue.js, and some style changes

<template src='./template.html'></template>
<script>
export default {
  props: ["close-with-escape"],
  data() {
    return {
      display: false
    };
  },

  methods: {
    close: function() {
      this.display = false;
    },

    show: function() {
      this.display = true;
    }
  }
};
</script>