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