document-cloner.js 699 B

123456789101112131415161718192021222324
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.DocumentCloner = void 0;
  4. var DocumentCloner = /** @class */ (function () {
  5. function DocumentCloner() {
  6. this.clonedReferenceElement = {
  7. ownerDocument: {
  8. defaultView: {
  9. pageXOffset: 12,
  10. pageYOffset: 34
  11. }
  12. }
  13. };
  14. }
  15. DocumentCloner.prototype.toIFrame = function () {
  16. return Promise.resolve({});
  17. };
  18. DocumentCloner.destroy = function () {
  19. return true;
  20. };
  21. return DocumentCloner;
  22. }());
  23. exports.DocumentCloner = DocumentCloner;
  24. //# sourceMappingURL=document-cloner.js.map