explainers
explainers copied to clipboard
preparePrint() : describe relationship with before/after print ?
When I shared this on social media, @tunetheweb was confused about the relationship to beforeprint - it probably could help to describe the relationship in the explainer since a few things can be worked around weirdly that way (though it doesn't work with .print() either)
Currently code using beforeprint/afterprint can rely on the assumption that they are synchronously called after each other, so that changes done in beforeprint and reverted in afterprint are not actually visible on the page.