2 个仓库
Hidden iframes used to isolate print content from the main application layout.
Distinct from Iframe-Based Rendering: Specializes iframe rendering for print output isolation rather than plugin security or performance.
Explore 2 awesome GitHub repositories matching user interface & experience · Print Isolation Frames. Refine with filters or upvote what's useful.
Print.js 是一个 JavaScript 打印库,提供了一个客户端接口,用于触发系统打印对话框并格式化 HTML 内容以供 Web 浏览器进行物理纸张输出。它作为一个浏览器打印控制器,管理临时打印文档的生命周期以确保一致的渲染。 该库利用 DOM 转框架(DOM-to-frame)打印实用程序,将特定的 HTML 元素克隆到隐藏的 iframe 中。此过程将可打印内容与主页面布局隔离开来,允许系统渲染干净的文档而无需触发全页重载。 该工具涵盖了浏览器文档格式化和客户端打印管理。它使用专门的打印样式表来重新格式化布局,并专门为物理输出隐藏非必要的 UI 元素。
Utilizes hidden iframes to isolate printable content from the main application layout.
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
Renders targeted components into a hidden iframe to trigger the browser print dialog without altering the main page layout.