Premium support for our pure JavaScript UI components
Hi, currently, we listen to the events eventmouseenter and eventmouseleave to know when an user enters or leaves an event. This work's us for. However, in the API documentation I didn't find these events, instead eventMouseOver and eventMouseOut. I noticed that they fire for both elements: b-sch-event and b-sch-event-wrap, which creates some overhead for us because we don't need the differentiation between these elements. Are eventmouseenter and eventmouseleave really deprecated or can we continue to use them?
Cheers, Philipp
It certainly works in the examples I run:
- Screenshot 2022-08-26 at 12.02.50.png (61.66 KiB) Viewed 354 times
Yes, but do you recommend to use them or is there any downside?
They are written and provided by us and supported to be used.
Best,
Tasnim
But it seems the mouseover and mouseout events work well too:
- Screenshot 2022-08-26 at 12.28.31.png (62.71 KiB) Viewed 349 times
I see what you mean. Mouseover fires for internal mouseover events when moving inside the event bar.
IMO, this is the reason why the mouse enter and leave events were implements. They don't bubble.
Thanks for finding out and updating the documation!