Print HTML elements or pages in modern browsers.
MIT License
Bot releases are visible (Hide)
Published by joseluisq over 2 years ago
Fixes
Published by joseluisq over 3 years ago
Refactorings
callback
type checking for print()
and printURL()
functions.style.type
on createStyle()
function.Docs
6a1c3a349cb290563863aa2c6cfc3ce8f58f02e1 Update code examples.
Published by joseluisq over 4 years ago
Fixes
Object.assign
polyfill for IE 11+ (also 3645ccff9e227b229a05d261c4f0c8d183f5ce0c). PR #12 resolves #11Refactorings
undefined
instead of null
on execCommand
function param.Published by joseluisq about 5 years ago
Breaking
print()
callback arguments: iframe
prop instead of contentWindow
& contentDocument
.Features
Updates
README.md
documentationAdd
Published by joseluisq about 5 years ago
Breaking
print (el: HTMLElement, styles?: string[], scripts?: string[], callback?: PrintdCallback)
Features
Updates
Published by joseluisq about 5 years ago
Features
options
argument in constructorhead
and body
elements as optionsFixes
Breaking
parent
argument should be part of the options like:{ parent: document.body }
. More info at https://github.com/joseluisq/printd#api
Published by joseluisq about 5 years ago
Fixes
Feature
../some/path/file.txt