Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

28 řádky
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>