5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 16:02:07 +08:00
wails/v3/internal/runtime/desktop/clipboard.js
Lea Anthony 25577b7655
Support Clipboard.
Message Processor refactor.
2023-01-28 08:59:44 +11:00

23 lines
425 B
JavaScript

/*
_ __ _ __
| | / /___ _(_) /____
| | /| / / __ `/ / / ___/
| |/ |/ / /_/ / / (__ )
|__/|__/\__,_/_/_/____/
The electron alternative for Go
(c) Lea Anthony 2019-present
*/
/* jshint esversion: 9 */
import {newRuntimeCaller} from "./runtime";
let call = newRuntimeCaller("clipboard");
export function SetText(text) {
return call("SetText", {text});
}
export function GetText() {
return call("GetText");
}