Type Alias: HostMessage
ts
type HostMessage =
| {
type: "move";
x: number;
y: number;
}
| {
type: "close";
};Defined in: types/desktop-engine.d.ts:118
A message sent to the app with the global postMessage('host', message).
move: reports the new position after the window is dragged; the app remembers it and passes it back inlaunchOptions.positionon the next launchclose: asks the app to remove this content from the desktop
