mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Refactors draw method in PDFPageView; makes optional some PDFPageViewOptions options
This commit is contained in:
parent
2ac7ac4678
commit
2565e627a3
6 changed files with 84 additions and 17 deletions
|
@ -67,9 +67,9 @@ IRenderableView.prototype = {
|
|||
*/
|
||||
get renderingState() {},
|
||||
/**
|
||||
* @param {function} callback - The draw completion callback.
|
||||
* @returns {Promise} Resolved on draw completion.
|
||||
*/
|
||||
draw: function (callback) {},
|
||||
draw: function () {},
|
||||
resume: function () {},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue