Refactors draw method in PDFPageView; makes optional some PDFPageViewOptions options

This commit is contained in:
Yury Delendik 2014-12-17 14:47:14 -06:00
parent 2ac7ac4678
commit 2565e627a3
6 changed files with 84 additions and 17 deletions

View file

@ -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 () {},
};