2 مستودعات
Asynchronous callbacks that trigger immediately before and after a document is sent to the print dialog.
Distinct from Lifecycle Hooks: Focuses specifically on the browser printing process lifecycle rather than general application or component mounting hooks.
Explore 2 awesome GitHub repositories matching web development · Print Lifecycle Hooks. Refine with filters or upvote what's useful.
Print.js هي مكتبة طباعة JavaScript توفر واجهة جانب العميل لتشغيل مربعات حوار طباعة النظام وتنسيق محتوى HTML لإخراج الورق المادي من متصفح الويب. تعمل كجهاز تحكم في طباعة المتصفح يدير دورة حياة مستندات الطباعة المؤقتة لضمان عرض متسق. تستخدم المكتبة أداة طباعة DOM-to-frame التي تستنسخ عناصر HTML محددة في إطارات iframe مخفية. تعزل هذه العملية المحتوى القابل للطباعة عن تخطيط الصفحة الرئيسي، مما يسمح للنظام بعرض مستند نظيف دون تشغيل إعادة تحميل كاملة للصفحة. تغطي الأداة تنسيق مستندات المتصفح وإدارة الطباعة من جانب العميل. تستخدم أوراق أنماط طباعة مخصصة لإعادة تنسيق التخطيطات وإخفاء عناصر واجهة المستخدم غير الأساسية خصيصاً للإخراج المادي.
Manages the instantiation and immediate destruction of short-lived DOM nodes for print jobs.
This project is a React print component and utility for rendering specific components or DOM elements into a browser print dialog. It functions as a print layout controller and lifecycle manager, using a hidden iframe to isolate content so that printing does not alter the main page layout. The tool specializes in copying DOM and Shadow DOM content into a printable window while preserving encapsulated styles. It allows for the injection of custom fonts and CSS to manage page breaks, margins, and orientations for consistent physical paper or PDF output. The library includes asynchronous lifecy
Provides asynchronous hooks to execute custom logic and update application state before and after the print process.