Skip to content

Commit 973b920

Browse files
Merge pull request #14717 from Snuffleupagus/issue-14716
Change the type of the `container` property, in the `TextLayerRenderParameters` typedef (issue 14716)
2 parents d4714b3 + 7f0589c commit 973b920

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/display/text_layer.js

+7-6
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,16 @@ import {
2727
* render (the object is returned by the page's `getTextContent` method).
2828
* @property {ReadableStream} [textContentStream] - Text content stream to
2929
* render (the stream is returned by the page's `streamTextContent` method).
30-
* @property {HTMLElement} container - HTML element that will contain text runs.
30+
* @property {DocumentFragment} container - The DOM node that will contain the
31+
* text runs.
3132
* @property {import("./display_utils").PageViewport} viewport - The target
3233
* viewport to properly layout the text runs.
33-
* @property {Array<HTMLElement>} [textDivs] - HTML elements that are correspond
34-
* to the text items of the textContent input. This is output and shall be
35-
* initially be set to empty array.
34+
* @property {Array<HTMLElement>} [textDivs] - HTML elements that correspond to
35+
* the text items of the textContent input.
36+
* This is output and shall initially be set to an empty array.
3637
* @property {Array<string>} [textContentItemsStr] - Strings that correspond to
37-
* the `str` property of the text items of textContent input. This is output
38-
* and shall be initially be set to empty array.
38+
* the `str` property of the text items of the textContent input.
39+
* This is output and shall initially be set to an empty array.
3940
* @property {number} [timeout] - Delay in milliseconds before rendering of the
4041
* text runs occurs.
4142
* @property {boolean} [enhanceTextSelection] - Whether to turn on the text

0 commit comments

Comments
 (0)