mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-05 05:52:33 +08:00
24 lines
436 B
JavaScript
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));
|
|
}
|