Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ink-html

trinly01337ISC1.0.4

Prints a specific area/element of your html page

print, html, element, div, area, pdf, javascript, css, print-html, print-html-element, html-element-print, ngx-print, vue-html-to-paper, vue, angular, react, react-to-print

readme

Welcome to ink-html!


Prints a specific area/element of your html page for any frontend framework

  • <input checked="" disabled="" type="checkbox"> Form Input Values
  • <input checked="" disabled="" type="checkbox"> CSS @media print
  • <input checked="" disabled="" type="checkbox"> 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 ]

Join and support our Community
Web and Mobile Developers PH
[ Facebook Page | Group ]