Hello, im trying to work with some events but cant make it work:
- i want to make it show the right text when mouseIn / OnClick …
please help me understand what did i do wrong.
Hello, im trying to work with some events but cant make it work:
Have you set up the event handler function names in the properties panel? With the approach you’ve taken you have to select the element and in the properties panel enter the name of the function that handles the event.
I dislike having to do that and bind the event handlers dynamically at runtime with onClick.
https://www.wix.com/corvid/reference/$w.ClickableMixin.html#onClick
By the way, binding both mouseIn/Out and onClick doesn’t make any sense at all from a UX perspective.
Ohh! i did it directly from the page code and it wasn’t connected to the properties panel… THX!
and about the UX advice thx!
can u help me understand how can i make the elements stay when the user is moving his mouse also stay when he click the button ? (every button have his own text+image)