messages.errorMessagesObject
Specifies the localization messages for various error scenarios that can occur during PDF processing and display. These messages are shown to users when errors are encountered.
Example
<div id="pdfviewer"></div>
<script type="module">
$("#pdfviewer").kendoPDFViewer({
pdfjsProcessing: {
file: "https://demos.telerik.com/kendo-ui/content/web/pdfViewer/sample.pdf"
},
messages: {
errorMessages: {
notSupported: "Only PDF files are allowed.",
parseError: "PDF file failed to process.",
notFound: "File was not found.",
popupBlocked: "Popup was blocked."
}
}
});
</script>
In this article