8000 GitHub - fjefferson/printScreenShotJs
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fjefferson/printScreenShotJs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 

Repository files navigation

printScreenShotJs

  • Print your screen incluide(css,image) with Bootstrap. Save in PDF or another extension.
  • Html2Canvas

Dependenceis

  • jQuery
  • lib/html2canvas.js

Call

$(function(){
$("#printScreenBtn").printScreen();

});

Call button in HTML

<button class="btn btn-success" id="printScreenBtn" type="button">

This example print all your screen, really all!

Simple like that!

Configuration

$(".printScreenBtn").printScreen({hiddenItens:".notPrint", targetObj: document.body, landScape: true});
  • hiddenItens: Objects on your screen to hide when it generate the impression separated by comma (,) ex: hiddenItens:".notPrint, #foo1, .foo2"
  • targetObj: Element that will be picked up by print.
  • landScape: Force print in landScape orientation, default is false.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0