mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +08:00
docs(printer): fix example (#1439)
`this.p` is not defined as Printer is imported as `printer`
This commit is contained in:
parent
822be1c248
commit
dd69810494
@ -62,7 +62,7 @@ export interface PrintOptions {
|
||||
* grayscale: true
|
||||
* };
|
||||
*
|
||||
* this.p.print(content, options).then(onSuccess, onError);
|
||||
* this.printer.print(content, options).then(onSuccess, onError);
|
||||
* ```
|
||||
* @interfaces
|
||||
* PrintOptions
|
||||
|
Loading…
Reference in New Issue
Block a user