$ account mycurelabs
[github ↗]
1 repos indexed
This repository provides a Vue 3 plugin for printing HTML elements. The plugin allows developers to specify an element to print, apply custom styles, and control print window behavior. The core logic is implemented in src/index.js, which creates a new window, injects the element's HTML and styles, and triggers the print dialog. The plugin handles options merging, browser compatibility (including IE conditional comments), and provides callbacks for post-print actions. While the core functionality is sound and demonstrates skill in handling browser printing quirks, the build dependencies are outdated, indicating some technical drift in the development toolchain.
RATING:
MAINT: maintained
DRIFT: medium