Small doc changes
This commit is contained in:
parent
035bc68200
commit
818d7ff9a7
@ -25,10 +25,13 @@ var Printer = function () {
|
|||||||
|
|
||||||
Printer.prototype = {
|
Printer.prototype = {
|
||||||
/**
|
/**
|
||||||
* Überprüft, ob der Drucker-Dienst verfügbar ist.
|
* Checks if the printer service is avaible (iOS)
|
||||||
|
* or if a printing app is installed on the device (Android).
|
||||||
*
|
*
|
||||||
* @param {Function} callback
|
* @param {Function} callback
|
||||||
* @param {Object?} scope callback scope (default: window)
|
* A callback function
|
||||||
|
* @param {Object?} scope
|
||||||
|
* The scope of the callback (default: window)
|
||||||
*
|
*
|
||||||
* @return {Boolean}
|
* @return {Boolean}
|
||||||
*/
|
*/
|
||||||
@ -43,10 +46,13 @@ Printer.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Übergibt den HTML-Content an den Drucker-Dienst.
|
* Sends the content to the printer app or service.
|
||||||
*
|
*
|
||||||
* @param {String} content HTML string or DOM node (if latter, innerHTML is used to get the contents)
|
* @param {String} content
|
||||||
* @param {Object?} options platform specific options
|
* HTML string or DOM node
|
||||||
|
* if latter, innerHTML is used to get the contents
|
||||||
|
* @param {Object?} options
|
||||||
|
* Platform specific options
|
||||||
*/
|
*/
|
||||||
print: function (content, options) {
|
print: function (content, options) {
|
||||||
var page = content.innerHTML || content,
|
var page = content.innerHTML || content,
|
||||||
|
Loading…
Reference in New Issue
Block a user