mirror of
https://github.com/SpikeHD/MojoFrontend.git
synced 2024-12-01 19:48:39 +00:00
4 lines
199 B
JavaScript
4 lines
199 B
JavaScript
async function sendCommand(payload, method="invoke", background=false, persistent="auto") {
|
|
const parent = window.parent
|
|
return await parent.sendCommand(payload, method, background, persistent)
|
|
} |