vue-kanban
vue-kanban copied to clipboard
click event on kanban block
how to implement a click event on a kanban-block
Hi, if you are customising the kanban blocks, you could try adding a @click
listener to the slot markup?
<kanban-board :stages="stages" :blocks="blocks">
<div v-for="block in blocks" :slot="block.id" @click="handleBlockClick(block)">
{{ block }}
</div>
</kanban-board>
Hi @BrockReece , Thanks for the response , i have tried the above click event but it didn't work either
Ok, I will have another think about it.
Hello. Do click events work now? I'm building a project and I'm considering using this library, but I'm concerned that click events won't work on blocks. This feature is critical to my project. Thanks for making this!
Hey @Obayanju i don't know whether the click event is working on this plugin, But if you are urgent about this functionality, it is available in vue-smooth-dnd plugin. You can customise it as your wish.
Thank you!!