Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

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