SSolidJS•Created by Barbara88 on 5/5/2024 in #support Binding to component onClick
Hi, I am trying to bind to the onClick
property of a custom component.
I understand this is doable for a regular HTML element such as a button
but how can I achieve the same for a custom component?
e.g. <CustomImage onClick={handleMouseClick} />
?