Fix JSDoc description in src/display/api.js

This commit is contained in:
Nicolò Ribaudo 2025-09-12 15:01:41 +02:00
parent beb5f5ca85
commit 42b4d97115
No known key found for this signature in database
GPG Key ID: AAFDA9101C58F338

View File

@ -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.
*