mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
Merge pull request #10966 from brendandahl/pagerendered-time
Add timestamp to the page rendered event.
This commit is contained in:
commit
421bf62849
1 changed files with 3 additions and 0 deletions
|
@ -222,6 +222,7 @@ class PDFPageView {
|
|||
source: this,
|
||||
pageNumber: this.id,
|
||||
cssTransform: true,
|
||||
timestamp: performance.now(),
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
@ -245,6 +246,7 @@ class PDFPageView {
|
|||
source: this,
|
||||
pageNumber: this.id,
|
||||
cssTransform: true,
|
||||
timestamp: performance.now(),
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
@ -456,6 +458,7 @@ class PDFPageView {
|
|||
source: this,
|
||||
pageNumber: this.id,
|
||||
cssTransform: false,
|
||||
timestamp: performance.now(),
|
||||
});
|
||||
|
||||
if (error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue