Merge in v5 code

This commit is contained in:
Ibby Hadeed
2017-12-28 07:28:44 -05:00
parent d43fe72f7b
commit 0f9c21ab42
255 changed files with 11473 additions and 6501 deletions
+8 -4
View File
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, CordovaCheck, Plugin, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, CordovaCheck, IonicNativePlugin, Plugin } from '@ionic-native/core';
export interface PrintOptions {
/**
@@ -58,7 +58,7 @@ export interface PrintOptions {
* duplex: true,
* landscape: true,
* grayscale: true
* };
* }
*
* this.printer.print(content, options).then(onSuccess, onError);
* ```
@@ -103,7 +103,9 @@ export class Printer extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
pick(): Promise<any> { return; }
pick(): Promise<any> {
return;
}
/**
* Sends content to the printer.
@@ -115,6 +117,8 @@ export class Printer extends IonicNativePlugin {
successIndex: 2,
errorIndex: 4
})
print(content: string | HTMLElement, options?: PrintOptions): Promise<any> { return; }
print(content: string | HTMLElement, options?: PrintOptions): Promise<any> {
return;
}
}