Unverified Commit 69ffa595 authored by 老广's avatar 老广 Committed by GitHub

Merge pull request #69 from liuzheng/master

feat: full screen
parents 2374e58a bc26d89a
......@@ -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