How do I handle right-click events in angular.js?

前端 未结 4 800
有刺的猬
有刺的猬 2020-11-28 23:23

Is there a way to have an element set up so that it performs one action on left-click (ng-click) and then another action on a right-click?

Right now I have something

4条回答
  •  孤城傲影
    2020-11-28 23:31

    You can use this directive.

    normal dropmenu

提交回复
热议问题