Skip to content

Conversation

@frdij
Copy link

@frdij frdij commented Nov 4, 2024

PrintJS has an option documentTitle which wasn't exposed by Blazor.Printing.
While this option does not set default name for PDF when using "Save as PDF" in all browsers, it does in FireFox.
Also, this option does have an effect for all browsers; it changes the title shown in the header and some end-users might want to include headers and footers when printing.

Because this option might not be as useful for everyone, I've didn't add to a constructor of PrintOptions but I do think it's useful to expose documentTitle for those who want to use it.

See also this comment: crabbly/Print.js#696 (comment)

Relates to: #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant