5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-05 05:09:07 +08:00
wails/v2/internal/runtime/js/core/dialog.js
2020-10-23 23:56:33 +11:00

25 lines
438 B
JavaScript

/*
_ __ _ __
| | / /___ _(_) /____
| | /| / / __ `/ / / ___/
| |/ |/ / /_/ / / (__ )
|__/|__/\__,_/_/_/____/
The lightweight framework for web-like apps
(c) Lea Anthony 2019-present
*/
/* jshint esversion: 6 */
import { SendMessage } from 'ipc';
/**
* Open a dialog with the given parameters
*
* @export
* @param {object} options
*/
export function Open(options) {
SendMessage('DO', JSON.stringify(options));
}