Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

ink-html

1.0.4 • Public • Published

Welcome to ink-html!


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

  • Form Input Values
  • CSS @media print
  • 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 ]

Install

npm i ink-html

DownloadsWeekly Downloads

33

Version

1.0.4

License

ISC

Unpacked Size

4.92 kB

Total Files

4

Last publish

Collaborators

  • avatar