Manidas Payyoli

Manidas Payyoli

  • 1.4k
  • 657
  • 172.7k

How to prevent a div element closing by outside click

May 30 2019 9:41 AM
hi
i have a div pop up in my html.I need to prevent the closing of that div (which contain a table).
 
i have tried this way
 
<div class="pop-up" id="pop" data-backdrop="static" data-keyboard="false">
 
but its not working..any idea how to do in angular 2?

Answers (2)