Answers for "react how to get data attribute on click"

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 "react how to get data attribute on click"

Browse Popular Code Answers by Language