Our flexible Kanban board for managing tasks with drag drop


Post by licjapodaca »

Is there a way to add a click event over a header card item of type "template" ?

Screen Shot 2021-06-22 at 11.56.08 a.m..png
Screen Shot 2021-06-22 at 11.56.08 a.m..png (129.44 KiB) Viewed 891 times
Screen Shot 2021-06-22 at 12.09.56 p.m..png
Screen Shot 2021-06-22 at 12.09.56 p.m..png (164.66 KiB) Viewed 889 times

Regards


Post by mats »


Post by licjapodaca »

Sorry @mats but I didn't understand, how to evaluate if I did a click over the template field?

Screen Shot 2021-06-22 at 3.36.45 p.m..png
Screen Shot 2021-06-22 at 3.36.45 p.m..png (102.2 KiB) Viewed 885 times

Regards

Last edited by licjapodaca on Wed Jun 23, 2021 1:25 am, edited 1 time in total.

Post by mats »

Look at the event.target which tells you which DOM element you clicked. https://developer.mozilla.org/en-US/docs/Web/API/Event/target


Post by licjapodaca »

Oh ok, now I got you ... excellent @mats ... thanks

Regards


Post Reply