package
Version:
v1.11.3
Opens a new window with list of versions in this module.
Published: Feb 26, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
基于 github.com/chromedp/chromedp;需要确保本地有 chromium 内核可以使用
PrintToPDFWithHTML 根据提供的 html 内容,生成 pdf
actions 在生成 PDF 前的等待动作,比如, chromedp.WaitVisible("#render_done")
PrintToPDFWithHTML 根据提供的 url,生成 pdf
actions 在生成 PDF 前的等待动作,比如, chromedp.WaitVisible("#render_done")
Source Files
¶
Click to show internal directories.
Click to hide internal directories.