JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › smart-accordion selection-mode=’mouseenter’ › Reply To: smart-accordion selection-mode=’mouseenter’
January 9, 2023 at 12:20 pm
#104181
svetoslav_borislavov
Participant
Hi,
You can set an event listener that catches the ‘mouseenter’ event of the ‘smart-accordion-item’.
In the handler get the index of the item and invoke the ‘expand’ method of the ‘smart-accordion’.
Here is an example: https://codepen.io/svetoslavb04/pen/mdjRoKr
I hope this helps you!
Best Regards,
Svetoslav Borislavov
Smart UI Team
https://www.htmlelements.com/