github.com/secoba/wails/v2@v2.6.4/internal/frontend/runtime/desktop/screen.js (about) 1 /* 2 _ __ _ __ 3 | | / /___ _(_) /____ 4 | | /| / / __ `/ / / ___/ 5 | |/ |/ / /_/ / / (__ ) 6 |__/|__/\__,_/_/_/____/ 7 The electron alternative for Go 8 (c) Lea Anthony 2019-present 9 */ 10 11 /* jshint esversion: 9 */ 12 13 14 import {Call} from "./calls"; 15 16 17 /** 18 * Gets the all screens. Call this anew each time you want to refresh data from the underlying windowing system. 19 * @export 20 * @typedef {import('../wrapper/runtime').Screen} Screen 21 * @return {Promise<{Screen[]}>} The screens 22 */ 23 export function ScreenGetAll() { 24 return Call(":wails:ScreenGetAll"); 25 }