📜  document.print js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:21.533000             🧑  作者: Mango

代码示例2
function printImages() {
  printJS({
    printable:    ['https://cdn.shopify.com/s/files/1/0284/4946/products/IMG_8999_720x.jpg?v=1580507812',  'https://bloomex.ca/components/com_virtuemart/shop_image/produc t/Make-a-Wish-LF102-53.png',  'https://s3.amazonaws.com/cdn.brecksbulbs.ca/images/500/60053.jpg'],
    type: 'image',
    header: 'Multiple Images',
    imageStyle: 'width:50%;margin-bottom:20px;'
  })
}