Answer the question
In order to leave comments, you need to log in
How to accurately identify the dynamic element that was clicked?
There is a mini-blog (Vue.js + bootstrap) with the ability to add posts, by clicking on the "Read More" button, a modal window should pop up with information from the specific post that was clicked. I don’t understand how to transfer information from a specific post to a modal window?
This is my first time dealing with Vue, so there may initially be incorrect logic there.
Link to example
Answer the question
In order to leave comments, you need to log in
Well, why the hell do you take a zero post when executing a function?
Experience with Vue has nothing to do with it at all, the logic must be included.
When clicking, you need to pass the clicked post to the function or its identifier or something else.
Even soReadPost(post)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question