How to disable right click event in AngularJS ?

devquora
devquora

Posted On: Feb 22, 2018

 

In order to disable the right click event in AngularJS, you need to add the disable-right-click as the element’s attribute. Simply use preventDefault(), this cancels the event and stops further propagation of the event.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions