5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-05 05:52:33 +08:00
wails/v2/internal/runtime/js/core/dialog.js
2020-10-24 14:06:57 +11:00

24 lines
436 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));
}