JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums General Discussions smart-accordion selection-mode=’mouseenter’

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #104173
    jqwidgetsdev
    Participant

    Hi,

    I was looking at smart-accordion for selection-mode='mouseenter' but couldn’t find it.
    Mmenu and tabs have it though.

    How can this behaviour be achieved?

    Thank you.

    #104181

    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/

    #104184
    jqwidgetsdev
    Participant

    Thanks Svetoslav – resolved.

    #104188

    Hi,

    Thank you for the feedback!

    If you face any further difficulties, do not hesitate to contact us!

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.