Answers for "how to get custom attribute event"

3

event target data atributes

event.target.getAttribute("data-sortorder");
Posted by: Guest on October-15-2020
3

react data attributes event

const removeId = e.target.getAttribute("data-remove");
Posted by: Guest on August-31-2020

Code answers related to "how to get custom attribute event"

Browse Popular Code Answers by Language