Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filename as window title #2500

Merged
merged 10 commits into from
Jul 9, 2020
2 changes: 1 addition & 1 deletion src/jspdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2939,7 +2939,7 @@ var jsPDF = (function(global) {
*
* If `type` argument is undefined, output is raw body of resulting PDF returned as a string.
*
* @param {string} type A string identifying one of the possible output types. Possible values are 'arraybuffer', 'blob', 'bloburi'/'bloburl', 'datauristring'/'dataurlstring', 'datauri'/'dataurl', 'dataurl
* @param {string} type A string identifying one of the possible output types. Possible values are 'arraybuffer', 'blob', 'bloburi'/'bloburl', 'datauristring'/'dataurlstring', 'datauri'/'dataurl', 'dataurlnewwindow', 'pdfobjectnewwindow', 'pdfjsnewwindow'.
', 'pdfobjectnewwindow', 'pdfjsnewwindow'.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry for nitpicking, but now 'pdfobjectnewwindow', 'pdfjsnewwindow' appear twice ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thanks for catching that!

* @param {Object} options An object providing some additional signalling to PDF generator. Possible options are 'filename'.
*
Expand Down