1
0
This commit is contained in:
Zef Hemel
2023-11-15 10:08:21 +01:00
parent 4acfd96011
commit 8a7c50599d
8 changed files with 51 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
import { CodeWidgetContent } from "$sb/types.ts";
import { SysCallMapping } from "../../plugos/system.ts";
import { broadcastReload } from "../components/widget_sandbox_iframe.ts";
export function clientCodeWidgetSyscalls(): SysCallMapping {
return {
"codeWidget.refreshAll": () => {
broadcastReload();
},
};
}