HTML Elements Forums Navigation Accordion Disable some of the Accordion items

This topic contains 1 reply, has 2 voices, and was last updated by Avatar Anonymous 2 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #98890
    Avatar
    Anonymous

    Hello,

    I was just wondering if i can disable certain Accordion items? For example, if i have 3 items i want only the 2nd to be disabled so the users can’t interact with it.

    Nice work on the framework btw. It’s so easy to create a dynamic content web page thanks to these elements.

    #98897
    Avatar
    Anonymous

    Hi john1987,

    To achieve this behavior, you can set pointer-events: none; to this particular item.
    This will disable the interaction with it.

    Best Regards,
    Ivailo

    Smart HTML Elements Team
    https://www.htmlelements.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.