From 4d63e95b903cd44186f9a20fcb95c11074896bd9 Mon Sep 17 00:00:00 2001 From: amy Date: Wed, 22 Feb 2023 19:56:37 +0000 Subject: things --- src/window-utils.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/window-utils.js') diff --git a/src/window-utils.js b/src/window-utils.js index aad96fe..eaaf008 100644 --- a/src/window-utils.js +++ b/src/window-utils.js @@ -1,4 +1,20 @@ let util = { + context_menu(opt){ + /* + opt = {"menu":[ + {"name":string, + "callback": function} + + ],!"settings":{ + x:int, + y:int, + height:int, + width:int + }} + + ! is optional + */ + }, async alert(inp) { let promise = new Promise(async (res, rej) => { bu = []; -- cgit v1.2.3