Methods · 3
hardReset(): Promise<void>Throw away everything this origin has stored locally and reload.
Returns a promise so a host that has to await its own storage teardown can; the default implementation resolves immediately.
openWindow(url: string, target?: string): voidOpen a URL. target follows window.open's second argument.
refreshPage(): voidReload the page the editor is mounted in.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.