mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
parent
4dee3b83d5
commit
d18b9ee472
3 changed files with 30 additions and 2 deletions
|
@ -513,6 +513,20 @@ class PDFPageView {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @typedef {Object} PDFPageViewUpdateParameters
|
||||
* @property {number} [scale] The new scale, if specified.
|
||||
* @property {number} [rotation] The new rotation, if specified.
|
||||
* @property {Promise<OptionalContentConfig>} [optionalContentConfigPromise]
|
||||
* A promise that is resolved with an {@link OptionalContentConfig}
|
||||
* instance. The default value is `null`.
|
||||
* @property {number} [drawingDelay]
|
||||
*/
|
||||
|
||||
/**
|
||||
* Update e.g. the scale and/or rotation of the page.
|
||||
* @param {PDFPageViewUpdateParameters}
|
||||
*/
|
||||
update({
|
||||
scale = 0,
|
||||
rotation = null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue