summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bosdonnat <cbosdonnat@suse.com>2019-02-14 10:44:53 +0100
committerJeremy White <jwhite@codeweavers.com>2019-02-14 12:46:10 -0600
commitee0ec7c24f079417fe9fe78ce7890d063dd077f6 (patch)
tree1e250e4f757d955c047aa4148506623598babec8
parentdfa40a73ffde1567a1a215863ff2e9bf0a5d3c6d (diff)
Document onsuccess callback
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
-rw-r--r--src/main.js2
1 files changed, 2 insertions, 0 deletions
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