Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

28 wiersze
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>