1.0.0 • Published 4 years ago
vue-print-pandale v1.0.0
vue-print-pandale
The directive wrapper for printed,fast,Simple,light. ( IE兼容问题 )
Install
NPM
npm install vue-print-pandale --save
import Print from 'vue-print-pandale'
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>
</div>
<button v-print="'#print'">Print local range</button>
License
1.0.0
4 years ago