Skip to content
This repository was archived by the owner on Apr 21, 2020. It is now read-only.
This repository was archived by the owner on Apr 21, 2020. It is now read-only.

advice on accessing underlying items  #1

@rawberg

Description

@rawberg

Thanks for sharing this code, its exactly what I was looking for. I have it setup to display the context menu when items within a <ul> are clicked. However the click event target only allows me to access the menu dom element and not the underlying <li> that was clicked when the menu was spawned.

Do you have any recommendations for passing through the target that originally triggered the menu to display? That way I could pick an ID out of the html tag and know what item the user wants to perform operations on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions