#104280

Hi,

As it is a custom toolbar item you should add the event manually.
Your custom toolbar item object should look like this:

{
name: “settings”,
width: “auto”,
template: (element) => {
element.textContent = “settings”;
element.addEventListener(“click”, () => {
console.log(“click”);
});
},
}

Best Regards,
Svetoslav Borislavov

Smart UI Team
https://www.htmlelements.com/