1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-21 15:48:06 +02:00

Fix a couple of JSDoc @typedefs to use @property (instead of @param) to fix some missing documentation when running gulp jsdoc

This commit is contained in:
Jonas Jenwald 2016-10-17 13:04:55 +02:00
parent 6678da379b
commit 2ce9da9b7a
2 changed files with 11 additions and 12 deletions

View file

@ -552,10 +552,10 @@ var PDFViewer = (function pdfViewer() {
/**
* @typedef ScrollPageIntoViewParameters
* @param {number} pageNumber - The page number.
* @param {Array} destArray - (optional) The original PDF destination array,
* in the format: <page-ref> </XYZ|/FitXXX> <args..>
* @param {boolean} allowNegativeOffset - (optional) Allow negative page
* @property {number} pageNumber - The page number.
* @property {Array} destArray - (optional) The original PDF destination
* array, in the format: <page-ref> </XYZ|/FitXXX> <args..>
* @property {boolean} allowNegativeOffset - (optional) Allow negative page
* offsets. The default value is `false`.
*/