Answers for "angularjs download xml file"

0

angularjs download xml file

var element = document.createElement('a');
     var blob = new Blob([data], {
       type: 'text/xml'
     });
     var url = URL.createObjectURL(blob);
     element.href = url;
     element.setAttribute('download', 'acl.xml');
     document.body.appendChild(element); 
     element.click();
Posted by: Guest on July-26-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language