Welcome to ink-html!
Prints a specific area/element of your html page for any frontend framework
- [x] Form Input Values
- [x] CSS @media print
- [x] Popup Options
Installation
npm install ink-html
or
yarn add ink-html
CDN
<script src="https://unpkg.com/ink-html/dist/index.js"></script>
Usage
import print from 'ink-html'
// const print = inkHtml // for CDN
// js
print(window.querySelector('#printable'))
// Vue.js
print(this.$refs.printable.$el)
Join and support our Community
Web and Mobile Developers PH
[ Facebook Page | Group ]
Top comments (0)