vue-print-nb-jeecg
This is a directive wrapper for printed, Simple, fast, convenient, light. ( 特定改造版本: 解决IE兼容问题和支持Canvas自适应打印 )
Last updated 5 years ago by ~zhangdaiscott .
ISC · Original npm · Tarball · package.json
$ gnpm install vue-print-nb-jeecg 
SYNC missed versions from official npm registry.

vue-print-nb-jeecg

This is a directive wrapper for printed, Simple, fast, convenient, light. ( 特定改造版本: 解决IE兼容问题和支持Canvas自适应打印 )

Install

NPM

npm install vue-print-nb-jeecg --save
import Print from 'vue-print-nb-jeecg'

Vue.use(Print);

Description

Print the entire page:

<button v-print>Print the entire page</button>

Print local range:

HTML:

    <div id="printMe" style="background:red;">
        <p>葫芦娃,葫芦娃</p>
        <p>一根藤上七朵花 </p>
        <p>小小树藤是我家 啦啦啦啦 </p>
        <p>叮当当咚咚当当 浇不大</p>
        <p> 叮当当咚咚当当 是我家</p>
        <p> 啦啦啦啦</p>
        <p>...</p>
    </div>

    <button v-print="'#printMe'">Print local range</button>

License

MIT

上传NPM官仓

  • 1、点击 prepublish 生成lib文件
  • 2、npm publish
  • 3、npm unpublish vue-print-nb-jeecg --force

Current Tags

  • 1.0.12                                ...           latest (2 years ago)

9 Versions

  • 1.0.12                                ...           2 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           5 years ago
  • 1.0.8                                ...           6 years ago
  • 1.0.7                                ...           6 years ago
  • 1.0.6                                ...           6 years ago
  • 1.0.5                                ...           6 years ago
  • 1.0.4                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 11
Dependencies (1)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |