Skip to content

Commit fbcd9ef

Browse files
author
Brett Berenz
authored
Clarify orientation default option (qzind#950)
1 parent 2442cd2 commit fbcd9ef

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

js/qz-tray.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,8 @@ var qz = (function() {
13421342
* @param {number} [options.margins.right=0]
13431343
* @param {number} [options.margins.bottom=0]
13441344
* @param {number} [options.margins.left=0]
1345-
* @param {string} [options.orientation=null] Valid values <code>[portrait | landscape | reverse-landscape]</code>
1345+
* @param {string} [options.orientation=null] Valid values <code>[portrait | landscape | reverse-landscape | null]</code>.
1346+
* If set to <code>null</code>, orientation will be determined automatically.
13461347
* @param {number} [options.paperThickness=null]
13471348
* @param {string|number} [options.printerTray=null] Printer tray to pull from. The number N assumes string equivalent of 'Tray N'. Uses printer default if NULL.
13481349
* @param {boolean} [options.rasterize=false] Whether documents should be rasterized before printing.

0 commit comments

Comments
 (0)