Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/trinly01/ink-html
- Owner: trinly01
- Created: 2019-10-18T08:20:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T23:05:26.000Z (almost 2 years ago)
- Last Synced: 2024-09-26T15:38:11.763Z (about 2 months ago)
- Language: JavaScript
- Size: 114 KB
- Stars: 15
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-pinoy-made - GitHub
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/) ]