UNPKG

capacitor-webview-print

Version:

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

68 lines 1.47 kB
{ "api": { "name": "WebviewPrintPlugin", "slug": "webviewprintplugin", "docs": "", "tags": [], "methods": [ { "name": "print", "signature": "(options: PrintOptions) => Promise<void>", "parameters": [ { "name": "options", "docs": "The print options", "type": "PrintOptions" } ], "returns": "Promise<void>", "tags": [ { "name": "param", "text": "options The print options" }, { "name": "since", "text": "6.0.0" } ], "docs": "Trigger a webview print event", "complexTypes": [ "PrintOptions" ], "slug": "print" } ], "properties": [] }, "interfaces": [ { "name": "PrintOptions", "slug": "printoptions", "docs": "", "tags": [], "methods": [], "properties": [ { "name": "name", "tags": [ { "text": "6.0.0", "name": "since" }, { "text": "\"product.pdf\"", "name": "example" } ], "docs": "Name of the file to be printed. This is an required attribute.", "complexTypes": [], "type": "string" } ] } ], "enums": [], "typeAliases": [], "pluginConfigs": [] }