devtools-protocol 0.0.995287 → 0.0.995510
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16602,16 +16602,10 @@
|
|
16602
16602
|
},
|
16603
16603
|
{
|
16604
16604
|
"name": "pageRanges",
|
16605
|
-
"description": "Paper ranges to print, e.g., '1-5, 8, 11-13'.
|
16605
|
+
"description": "Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are\nprinted in the document order, not in the order specified, and no\nmore than once.\nDefaults to empty string, which implies the entire document is printed.\nThe page numbers are quietly capped to actual page count of the\ndocument, and ranges beyond the end of the document are ignored.\nIf this results in no pages to print, an error is reported.\nIt is an error to specify a range with start greater than end.",
|
16606
16606
|
"optional": true,
|
16607
16607
|
"type": "string"
|
16608
16608
|
},
|
16609
|
-
{
|
16610
|
-
"name": "ignoreInvalidPageRanges",
|
16611
|
-
"description": "Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.\nDefaults to false.",
|
16612
|
-
"optional": true,
|
16613
|
-
"type": "boolean"
|
16614
|
-
},
|
16615
16609
|
{
|
16616
16610
|
"name": "headerTemplate",
|
16617
16611
|
"description": "HTML template for the print header. Should be valid HTML markup with following\nclasses used to inject printing values into them:\n- `date`: formatted print date\n- `title`: document title\n- `url`: document location\n- `pageNumber`: current page number\n- `totalPages`: total pages in the document\n\nFor example, `<span class=title></span>` would generate span containing the title.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -7645,12 +7645,15 @@ domain Page
|
|
7645
7645
|
optional number marginLeft
|
7646
7646
|
# Right margin in inches. Defaults to 1cm (~0.4 inches).
|
7647
7647
|
optional number marginRight
|
7648
|
-
# Paper ranges to print, e.g., '1-5, 8, 11-13'.
|
7649
|
-
#
|
7648
|
+
# Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are
|
7649
|
+
# printed in the document order, not in the order specified, and no
|
7650
|
+
# more than once.
|
7651
|
+
# Defaults to empty string, which implies the entire document is printed.
|
7652
|
+
# The page numbers are quietly capped to actual page count of the
|
7653
|
+
# document, and ranges beyond the end of the document are ignored.
|
7654
|
+
# If this results in no pages to print, an error is reported.
|
7655
|
+
# It is an error to specify a range with start greater than end.
|
7650
7656
|
optional string pageRanges
|
7651
|
-
# Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.
|
7652
|
-
# Defaults to false.
|
7653
|
-
optional boolean ignoreInvalidPageRanges
|
7654
7657
|
# HTML template for the print header. Should be valid HTML markup with following
|
7655
7658
|
# classes used to inject printing values into them:
|
7656
7659
|
# - `date`: formatted print date
|
package/types/protocol.d.ts
CHANGED
@@ -12965,15 +12965,16 @@ export namespace Protocol {
|
|
12965
12965
|
*/
|
12966
12966
|
marginRight?: number;
|
12967
12967
|
/**
|
12968
|
-
* Paper ranges to print, e.g., '1-5, 8, 11-13'.
|
12969
|
-
*
|
12968
|
+
* Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are
|
12969
|
+
* printed in the document order, not in the order specified, and no
|
12970
|
+
* more than once.
|
12971
|
+
* Defaults to empty string, which implies the entire document is printed.
|
12972
|
+
* The page numbers are quietly capped to actual page count of the
|
12973
|
+
* document, and ranges beyond the end of the document are ignored.
|
12974
|
+
* If this results in no pages to print, an error is reported.
|
12975
|
+
* It is an error to specify a range with start greater than end.
|
12970
12976
|
*/
|
12971
12977
|
pageRanges?: string;
|
12972
|
-
/**
|
12973
|
-
* Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.
|
12974
|
-
* Defaults to false.
|
12975
|
-
*/
|
12976
|
-
ignoreInvalidPageRanges?: boolean;
|
12977
12978
|
/**
|
12978
12979
|
* HTML template for the print header. Should be valid HTML markup with following
|
12979
12980
|
* classes used to inject printing values into them:
|