Forum Discussion
Rogersnow
3 years agoIdeator I
To get the itemtype name on CUI on click method, you can use the following code:
var clickedItem = event.target;
var itemType = clickedItem.getAttribute("data-itemtype");
console.log("Item Type: " + itemType);
Try this once may be this will help you.