Showing context menu buttons only when right-clicked on classes that start with “Story”

后端 未结 2 1971
名媛妹妹
名媛妹妹 2020-12-04 00:33

Is there a way to show context menu actions, only when the user right-clicks on classes that start with \"story\".

For example: if the user right-clicks on an object

2条回答
  •  被撕碎了的回忆
    2020-12-04 01:00

    Till date "all", "page", "frame", "selection", "link", "editable", "image", "video", "audio", "launcher" are the contexts only supported. It is not possible to customize per class of an Object.

    Work Around

    If you are looking to show context menu actions, only when the user right-clicks on certain div.class on the page use mouse over menu as shown here

    enter image description here

提交回复
热议问题