Skip to content

remoteControl()

WebSocket client. Server pushes { action: 'next' | 'prev' | 'goTo', slide?, step? } JSON. Auto-reconnects on close.

remoteControl('ws://localhost:3001')