PurePrint
Base on PrintThis, but not depend on jQuery
usage
const printThisDefaults = debug: false // show the iframe for debugging importCSS: true // import parent page css importStyle: true // import style tags printContainer: true // print outer container/$.selector loadCSS: '' // load an additional css file - load multiple stylesheets with an array [] pageTitle: '' // add title to print page removeInline: false // remove all inline styles printDelay: 333 // variable print delay header: null // prefix to html footer: null // postfix to html formValues: true // preserve input/form values canvas: false // copy canvas content (experimental) base: false // preserve the BASE tag, or accept a string for the URL doctypeString: '<!DOCTYPE html>' // html doctype removeScripts: false // remove script tags before appending copyTagClasses: false // copy classes from the html & body tag
types
declare ;;