From ee0ec7c24f079417fe9fe78ce7890d063dd077f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdonnat@suse.com> Date: Thu, 14 Feb 2019 10:44:53 +0100 Subject: [PATCH] Document onsuccess callback Signed-off-by: Jeremy White <jwhite@codeweavers.com> --- src/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.js b/src/main.js index be73828..4a37b55 100644 --- a/src/main.js +++ b/src/main.js @@ -56,6 +56,8 @@ import { resize_helper, handle_resize } from './resize.js'; ** onagent (optional) If given, a function to be called when ** a VD agent is connected; a good opportunity ** to request a resize +** onsuccess (optional) If given, a function to be called when the +** session is successfully connected ** ** Throws error if there are troubles. Requires a modern (by 2012 standards) ** browser, including WebSocket and WebSocket.binaryType == arraybuffer -- GitLab