Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

28 satır
488 B

  1. <template>
  2. <Dialog @close="$emit('close')">
  3. <h3>'{{fname}}' ready</h3>
  4. <div class="row"><a :href="props.url" :download="fname">
  5. <button>Download</button>
  6. </a></div>
  7. </Dialog>
  8. </template>
  9. <script setup>
  10. import { computed } from "vue"
  11. import Dialog from "./dialog.vue"
  12. const emit = defineEmits(['close'])
  13. const props = defineProps(['fileName', 'url'])
  14. let fname = props.fileName
  15. </script>
  16. <style scoped>
  17. .modal div.row {
  18. display: flex;
  19. justify-content: center;
  20. }
  21. </style>