src_js/iconolab-bundle/src/components/modalpanel/ModalPanel.vue
changeset 156 e1e14766f608
child 539 08e2513dbc2f
equal deleted inserted replaced
153:9ed54b10ce16 156:e1e14766f608
       
     1 <template src='./template.html'></template>
       
     2 <script>
       
     3 	export default {
       
     4 		props: ["close-with-escape"],
       
     5 		data () {
       
     6 			return {
       
     7 				display: false
       
     8 			}
       
     9 		},
       
    10 
       
    11 		methods: {
       
    12 			close: function () {
       
    13 				this.display = false;
       
    14 			},
       
    15 
       
    16 			show: function () {
       
    17 				this.display = true;
       
    18 			}
       
    19 		}
       
    20 	}
       
    21 
       
    22 </script>