🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ink-html

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ink-html

Prints a specific area/element of your html page

1.0.4
latest
Source
npm
Version published
Weekly downloads
38
22.58%
Maintainers
1
Weekly downloads
 
Created
Source

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 ]

Keywords

print

FAQs

Package last updated on 22 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts