1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-04-20 02:26:45 +02:00
This commit is contained in:
lxsang 2018-09-23 18:26:20 +02:00
parent 36c5c2512f
commit 83cc66fced

View File

@ -27,14 +27,14 @@ class WebVNC extends window.classes.BaseObject
return new Promise (r,e) -> return new Promise (r,e) ->
r('demo', 'demo') r('demo', 'demo')
@client.oncopy = (text) -> @client.oncopy = (text) ->
($ "#clipboard")[0].value = text cosole.log text
@client.init() @client.init()
.then () -> .then () ->
$("#connect").click (e) -> $("#connect").click (e) ->
me.client.connect "/opt/www/vnc.conf", { me.client.connect "/opt/www/vnc.conf", {
bbp: 32, bbp: 32,
flag: 3, flag: 3,
quality: 10 quality: 40
} }
$("#tbstatus").html "32bbp, compress JPEG & ZLib, JPEG quality 10%" $("#tbstatus").html "32bbp, compress JPEG & ZLib, JPEG quality 10%"
$("#stop").click (e) -> $("#stop").click (e) ->