onclick on button
Hello everyone
I know this is very easy to do but i’ve been struggling for a while to do it.
I’ve developed a custom component (button)

Here’s the content of the buttonsearch.html

I want to add the function onclick on the button but when I do it the console doesn’t print anything…
Here’s the content of my js in clientlibs

When I click on the button I don’t get the message printed in the console ?
Anyone knows how can I print the message to the console when the button is clicked ?
Thanks in advance.

