Merge pull request #20267 from nicolo-ribaudo/fix-jsdoc

Fix JSDoc description in src/display/api.js
This commit is contained in:
calixteman 2025-09-13 15:40:47 +02:00 committed by GitHub
commit 2138ec17cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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