1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- "use strict";
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
- /**
- * Licensed Materials - Property of IBM
- * IBM Business Analytics (C) Copyright IBM Corp. 2019
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- /**
- * @class PrintAPI
- * @hideconstructor
- * @classdesc API class that is used to print an asset
- */
- define([], function () {
- var PrintAPI = function () {
- function PrintAPI() {
- _classCallCheck(this, PrintAPI);
- }
- /**
- * @public
- * @function PrintAPI#print
- * @param {Object} content of the page to print
- * @param {Object} pageOptions.pageSize size of the page eg: letter/legal/A4/Tabloid
- * @param {boolean} pageOptions.printFilters boolean value to represent whether to include filters or not
- * @description prints the current asset from the view
- */
- PrintAPI.prototype.print = function print() {};
- /**
- * @function PrintAPI#registerContent
- * @description Registers the asset type for printing
- * @param {string} type type of the current asset
- * @param {Object} api instance of the asset api
- */
- PrintAPI.prototype.registerContent = function registerContent() {};
- return PrintAPI;
- }();
- return PrintAPI;
- });
- //# sourceMappingURL=PrintAPI.js.map
|