diff options
author | Pedro José Batista <pedrobatista@myself.com> | 2020-06-02 09:21:38 -0300 |
---|---|---|
committer | Pedro José Batista <pedrobatista@myself.com> | 2020-06-02 09:21:38 -0300 |
commit | b7e1bdd1f9b9395b62079c3f4eafdf4b0e7cf997 (patch) | |
tree | 68750b2ecdda9835bbea9a069335b8b33aa26025 /svg.js.d.ts | |
parent | bc938f05b708041921cf9d75b2cd84c92574c463 (diff) | |
download | svg.js-b7e1bdd1f9b9395b62079c3f4eafdf4b0e7cf997.tar.gz svg.js-b7e1bdd1f9b9395b62079c3f4eafdf4b0e7cf997.zip |
Added exports from window.js
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r-- | svg.js.d.ts | 4 |
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;
|