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
|
@ -104,9 +104,11 @@ class OutputScale {
|
|||
|
||||
/**
|
||||
* Scrolls specified element into view of its parent.
|
||||
* @param {Object} element - The element to be visible.
|
||||
* @param {Object} spot - An object with optional top and left properties,
|
||||
* @param {HTMLElement} element - The element to be visible.
|
||||
* @param {Object} [spot] - An object with optional top and left properties,
|
||||
* specifying the offset from the top left edge.
|
||||
* @param {number} [spot.left]
|
||||
* @param {number} [spot.top]
|
||||
* @param {boolean} [scrollMatches] - When scrolling search results into view,
|
||||
* ignore elements that either: Contains marked content identifiers,
|
||||
* or have the CSS-rule `overflow: hidden;` set. The default value is `false`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue