Unverified Commit bc26d89a authored by liuzheng's avatar liuzheng

feat: full screen

full screen current connection
parent 569ed60b
......@@ -66,6 +66,10 @@ export class ElementNavComponent implements OnInit {
// this._appService.copy();
break;
}
case 'FullScreen':{
document.getElementsByClassName("window active ")[0].requestFullscreen();
break;
}
case'Disconnect': {
if (!confirm('断开当前连接? (RDP暂不支持)')) {
break;
......@@ -264,6 +268,11 @@ export class ElementNavComponent implements OnInit {
'href': '',
'name': 'Share session (read/write)',
'disable': true
},
{
'id': 'FullScreen',
'click': 'FullScreen',
'name': 'Full Screen'
}
]
}, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment