5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 05:30:22 +08:00
wails/v3/internal/runtime/desktop/screen.js
2023-01-18 21:42:49 +11:00

26 lines
551 B
JavaScript

/*
_ __ _ __
| | / /___ _(_) /____
| | /| / / __ `/ / / ___/
| |/ |/ / /_/ / / (__ )
|__/|__/\__,_/_/_/____/
The electron alternative for Go
(c) Lea Anthony 2019-present
*/
/* jshint esversion: 9 */
import {Call} from "./calls";
/**
* Gets the all screens. Call this anew each time you want to refresh data from the underlying windowing system.
* @export
* @typedef {import('../wrapper/runtime').Screen} Screen
* @return {Promise<{Screen[]}>} The screens
*/
export function ScreenGetAll() {
return Call(":wails:ScreenGetAll");
}