Skip to content
This repository was archived by the owner on Aug 14, 2021. It is now read-only.
This repository was archived by the owner on Aug 14, 2021. It is now read-only.

manually opening contextmenu without allowing normal opening #42

Closed
@wyvernmonarch7

Description

@wyvernmonarch7

I have a div.
I want my contextmenu to open inside div.
I do NOT want contextmenu to open on right-click in div.
I want contextmenu to be able to be manually triggered through events in other areas of my code.

If can manually use the command that opens on a target, but it must be inside a valid delegate property target. But I don't want my menu to open on user's right clicks. Is the only way to do this returning false on beforeOpen? I would prefer to save processing power and the uncessary events that occur to go through creating a new context menu that I don't want, etc.

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