logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/

confirm_modal.vue (552B)


  1. <template>
  2. <dialog-modal
  3. v-body-scroll-lock="true"
  4. class="confirm-modal"
  5. :on-cancel="onCancel"
  6. >
  7. <template #header>
  8. <span v-text="title" />
  9. </template>
  10. <slot />
  11. <template #footer>
  12. <button
  13. class="btn button-default"
  14. @click.prevent="onAccept"
  15. v-text="confirmText"
  16. />
  17. <button
  18. class="btn button-default"
  19. @click.prevent="onCancel"
  20. v-text="cancelText"
  21. />
  22. </template>
  23. </dialog-modal>
  24. </template>
  25. <script src="./confirm_modal.js"></script>