mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
24 lines
699 B
JavaScript
24 lines
699 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.DocumentCloner = void 0;
|
|
var DocumentCloner = /** @class */ (function () {
|
|
function DocumentCloner() {
|
|
this.clonedReferenceElement = {
|
|
ownerDocument: {
|
|
defaultView: {
|
|
pageXOffset: 12,
|
|
pageYOffset: 34
|
|
}
|
|
}
|
|
};
|
|
}
|
|
DocumentCloner.prototype.toIFrame = function () {
|
|
return Promise.resolve({});
|
|
};
|
|
DocumentCloner.destroy = function () {
|
|
return true;
|
|
};
|
|
return DocumentCloner;
|
|
}());
|
|
exports.DocumentCloner = DocumentCloner;
|
|
//# sourceMappingURL=document-cloner.js.map
|