Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #97
Closes #119
Closes #109
Closes #107
Closes #103
Closes #101
π¨ refactor(vue-html-to-paper.js): add support for window title and auto close
This commit adds support for two new options to the vue-html-to-paper.js file. The first option is
windowTitle
which allows the user to specify a custom title for the print window. The second option isautoClose
which is a boolean value that determines whether or not the print window should automatically close after printing. IfautoClose
is set to false, the window will remain open after printing.π fix(index.js): add autoClose option to close window after printing β¨ feat(index.js): add windowTitle option to customize window title π¨ style(index.html): update custom window title to be grammatically correct The autoClose option has been added to allow the window to be closed automatically after printing. The windowTitle option has been added to allow customization of the window title. The custom window title in index.html has been updated to be grammatically correct.
π§ chore(index.js): add autoClose and windowTitle options to VueHtmlToPaper
This commit adds two new options to the VueHtmlToPaper object: autoClose and windowTitle. The autoClose option allows the user to specify whether the print window should automatically close after printing. The windowTitle option allows the user to specify a custom title for the print window. These options can be passed in as localOptions or as part of the global options object.