How to add click event to the button #4850
-
Hello @artf, I would like to thank you for this library. It helped me a lot. I'm using this to build a website for page development, I'm having an issue adding a click event on a button component definition. { above is my button component and I want to do some stuff on the click. Please help to achieve this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I see from this document to set
|
Beta Was this translation helpful? Give feedback.
I see from this document to set
view
-events
for a type, https://grapesjs.com/docs/modules/Components.html#define-custom-component-type