shankar jha

shankar jha

  • 1.7k
  • 161
  • 5.6k

how to open new window in angular6

Mar 3 2019 11:59 AM
if (window.navigator && window.navigator.msSaveOrOpenBlob) {
window.navigator.msSaveOrOpenBlob(objectUrl, filename);
//window.open(objectUrl);
let opner = window.open(objectUrl, '_blank', 'height=700,width=700');
 
How to open in new window in angular6 . its working fine in chrome but not ie.

Answers (5)