diff options
| author | amy <[email protected]> | 2023-02-22 19:56:37 +0000 |
|---|---|---|
| committer | amy <[email protected]> | 2023-02-22 19:56:37 +0000 |
| commit | 9c720ecbc45840c2411d85f7b52645509d27a113 (patch) | |
| tree | 7086efa8adbd307c36aaca176215e66e768e65e5 /src/window-utils.js | |
| parent | 618765be31066b7d47bb602fac4cb32f1ff64cc5 (diff) | |
things
Diffstat (limited to 'src/window-utils.js')
| -rw-r--r-- | src/window-utils.js | 16 |
1 files changed, 16 insertions, 0 deletions
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 = []; |
