From bc3a9de8bed529e085051592f88764522fb270ed Mon Sep 17 00:00:00 2001 From: Henri Binsztok <808274+hbbio@users.noreply.github.com> Date: Mon, 22 Jan 2024 14:59:25 +0800 Subject: [PATCH] sheet: implement newProxy --- src/sheet.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/sheet.ts b/src/sheet.ts index 1dc4df3..4d363f6 100644 --- a/src/sheet.ts +++ b/src/sheet.ts @@ -124,6 +124,14 @@ export class Sheet { return { count: this[count], size: this[size] }; } + /** + * newProxy creates a new proxy for this sheet. + * @returns + */ + newProxy() { + return new SheetProxy(this); + } + dotGraphWithTitle(title?: string) { return this.g.toDot( this._cell_types(),