Skip to content

only insert menu options on click #16

Description

@trungpham

it seems that the latest version of the code creates the menu options and insert them into the DOM before the user clicks on the trigger.

This is a waste of DOM nodes if there is a lot of menu triggers on the page.

Should only create the DOM when the user clicks on the menu trigger.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions