Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trinly01/ink-html

Prints a specific area/element of your html page
https://github.com/trinly01/ink-html

Last synced: 15 days ago
JSON representation

Prints a specific area/element of your html page

Awesome Lists containing this project

README

        

# 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](https://developer.mozilla.org/en-US/docs/Web/API/Window/open#Window_features)

## Installation

```bash
npm install ink-html
```
or
```bash
yarn add ink-html
```

## CDN
```html

```

## Usage

```javascript
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](https://fb.com/webmobile.ph) | [Group](https://fb.com/groups/webmobile.ph/) ]

# *Join and support our Community*
**Web and Mobile Developers PH**
[ [Facebook Page](https://fb.com/webmobile.ph) | [Group](https://fb.com/groups/webmobile.ph/) ]