0.0.1 • Published 6 years ago
print-img v0.0.1
print-img
Just print an image.
Install
npm install print-imgUsage
Modules
import printImg from 'print-img'
...
printImg(src, options)
...Browser
...
<script src="path/to/print-img.js"></script>
...
<script>
...
printImg(src, options)
...
</script>
...Options
| name | type | note |
|---|---|---|
| id | string | id of iframe |
| imgStyle | string | style for image element |
| wrapStyle | string | style for wrap div element |
| style | string | style text for document |
License
0.0.1
6 years ago