Answers for "open bytes in new tab angular"

0

open bytes in new tab angular

Document.preview({id: $scope.order.id}, function(data){

    // Open PDF Here
    var file = new Blob([data], {type: 'application/pdf'});
    var fileURL = URL.createObjectURL(file);
    window.open(fileURL);

});
Posted by: Guest on October-13-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language