Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前,我必须实现打印功能。我在单击打印按钮时使用了弹出演示器,仅打印弹出面板的内容。但它也打印弹出面板背景的内容。有什么方法可以在新的浏览器窗口中打开演示者而不是弹出?请告诉我..
按打印时,您可以尝试以下操作:
String url = Window.Location .createUrlBuilder() .setHash(yourPrintingPresenterToken).buildString(); Window.open(url, "_blank", null);
您必须以某种方式将当前状态传输给新的演示者,可能使用参数化令牌。