Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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);

});
Source by en.it1352.com #
 
PREVIOUS NEXT
Tagged: #open #bytes #tab #angular
ADD COMMENT
Topic
Name
9+1 =