From 25f08fbc1c78d1d985db03d504e7e6d84121eb77 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Wed, 19 Feb 2020 00:00:12 +0100 Subject: [PATCH] Updated Third party viewer usage (markdown) --- Third-party-viewer-usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Third-party-viewer-usage.md b/Third-party-viewer-usage.md index ebab6dd..dd5f8d3 100644 --- a/Third-party-viewer-usage.md +++ b/Third-party-viewer-usage.md @@ -1,7 +1,7 @@ The default viewer is built on the display layer and is the UI for PDF viewer in Firefox and the other browser extensions within the project. It can be a good starting point for building your own viewer. However, we do ask if you plan to embed the viewer in your own site, that it not just be an unmodified version. Please re-skin it or build upon it. ### Initialization promise -For custom deployments it is often useful to know when the viewer is fully initialized. Previously this was possible by listening to the `localized` event, but pull request #11607 implemented a simpler way to do this: +For custom deployments it is often useful to know when the viewer is fully initialized. Previously this was possible by listening to the `localized` event, but since pull request [#11607](https://github.com/mozilla/pdf.js/pull/11607) there is a simpler way: ``` document.addEventListener("webviewerloaded", function() {