public string Failed { get; set; }
Public Property Failed As String
Get
Set
Example function:
function documentViewerFailed(e) {
var documentViewer = e.target;
//Pretty print the event arguments
var json = JSON.stringify(e.detail, null, 2);
console.log(json);
}
//SAMPLE OUTPUT:
/*
{
"eventName": "failed",
"document": "document.pdf",
"message": "Invalid or corrupted PDF file.",
"reason": "Invalid PDF structure.",
"isResponseError": false
}
*/