Merge pull request #20267 from nicolo-ribaudo/fix-jsdoc
Fix JSDoc description in src/display/api.js
This commit is contained in:
commit
2138ec17cc
@ -1242,10 +1242,16 @@ class PDFDocumentProxy {
|
||||
* @property {boolean} [isEditing] - Render the page in editing mode.
|
||||
* @property {boolean} [recordOperations] - Record the dependencies and bounding
|
||||
* boxes of all PDF operations that render onto the canvas.
|
||||
* @property {(index: number) => boolean} [operationsFilter] - If provided, only
|
||||
* @property {OperationsFilter} [operationsFilter] - If provided, only
|
||||
* run for which this function returns `true`.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @callback OperationsFilter
|
||||
* @param {number} index - The index of the operation.
|
||||
* @returns {boolean} If false, the operation is ignored.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Page getOperatorList parameters.
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user