UNPKG

capacitor-webview-print

Version:

This is a Capacitor plugin for printing the webview. It supports the Web, iOS and Android Platform.

19 lines (18 loc) 404 B
export interface WebviewPrintPlugin { /** * Trigger a webview print event * * @param options The print options * @since 6.0.0 */ print(options: PrintOptions): Promise<void>; } export interface PrintOptions { /** * Name of the file to be printed. This is an required attribute. * * @since 6.0.0 * @example "product.pdf" */ name: string; }