I'm using the bootstrap thumbnail styles on a Vue app, and rather than having the buttons, I'd like to make the whole column clickable. I've tried adding v-on:click and then catching the event in the handler, but the returned target is the child element that is clicked.
Ideally, I don't want to add the url to every child element. Does anybody have an example of how I should do this?
You couldn't include a button inside the a tag, for example. That would be a clickable thing inside another clickable thing, and the browser wouldn't know what to do when the button was clicked (do I activate the button? Do I follow the link?). Hence that would be invalid HTML.
Also, block links like my example used to be invalid before HTML5.