aboutsummaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r--svg.js.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index 2264c66..5edfdfb 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -35,7 +35,11 @@ declare module "@svgdotjs/svg.js" {
function find(query: QuerySelector): List<Element>
function findOne(query: QuerySelector): Element
+ function getWindow(): Window;
function registerWindow(win: Window, doc: Document): void;
+ function restoreWindow(): void;
+ function saveWindow(): void;
+ function withWindow(win: Window, fn: (win: Window, doc: Document) => void): void;
let utils: {
map(array: any[], block: Function): any;