5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 20:03:01 +08:00
wails/v3/internal/runtime/desktop/application.js
2023-03-30 12:51:43 +11:00

37 lines
547 B
JavaScript

/*
_ __ _ __
| | / /___ _(_) /____
| | /| / / __ `/ / / ___/
| |/ |/ / /_/ / / (__ )
|__/|__/\__,_/_/_/____/
The electron alternative for Go
(c) Lea Anthony 2019-present
*/
/* jshint esversion: 9 */
import {newRuntimeCaller} from "./runtime";
let call = newRuntimeCaller("application");
/**
* Hide the application
*/
export function Hide() {
void call("Hide");
}
/**
* Show the application
*/
export function Show() {
void call("Show");
}
/**
* Quit the application
*/
export function Quit() {
void call("Quit");
}