Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

profil.js 894B

123456789101112131415161718192021222324252627282930
  1. const ProfilRouter = {
  2. template: `
  3. <div>
  4. <ProfilCard
  5. v-for="(profil, index) in profilcard"
  6. :key="profil.id"
  7. :profil="profil"
  8. ></ProfilCard>
  9. </div>`,
  10. data: function () {
  11. return { profilcard: _profilcard };
  12. },
  13. methods: {
  14. },
  15. };
  16. /*
  17. $('#myModal').on('show.bs.modal', function (event) {
  18. console.log("Modal Opened")
  19. var button = $(event.relatedTarget) // Button that triggered the modal
  20. var recipient = button.data('whatever') // Extract info from data-* attributes
  21. // If necessary, you could initiate an AJAX request here (and then do the updating in a callback).
  22. // Update the modal's content. We'll use jQuery here, but you could use a data binding library or other methods instead.
  23. var modal = $(this)
  24. modal.find('.modal-title').text('New message to ' + recipient)
  25. modal.find('.modal-body input').val(recipient)
  26. })
  27. */