react-to-print
Advanced tools
Changelog
2.12.3 (February 5th, 2021)
ParentNode.append
in favor of Node.appendChild
. append
is not supported by IE11, and polyfilling it within the context of an iframe can be difficultdevDependencies
Changelog
2.12.2 (January 1st, 2021)
Happy new years!
document.write
pageStyle
prop that did not return a string could cause problemsdevDependencies
Changelog
2.12.0 (November 27th, 2020)
example
-> examples
examples
folderconnect
from react-redux
Changelog
2.10.3 (October 16th, 2020)
null
prototype such as ES modules and SystemJS modules. Thanks joeldenningChangelog
2.10.1 (October 15th, 2020)
bodyClass
can handle multiple class names instead of just a single class name. Thanks seanbloniendevDependencies
, dedupe
, and audit fix
Changelog
2.10.0 (August 23rd, 2020)
print
has been added. This can be used to override the default browser Window.print
. This can be useful if you want to print in an alternative environment such as Electron. As part of this change, onPrintError
will now report if an error occurs in a passed in print
method. Thanks to Ririshi for this ideadevDependencies
, npm dedupe
, npm audit fix