Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/77.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何使用ExtJS按钮捕获屏幕快照_Javascript_Jquery_Extjs - Fatal编程技术网

Javascript 如何使用ExtJS按钮捕获屏幕快照

Javascript 如何使用ExtJS按钮捕获屏幕快照,javascript,jquery,extjs,Javascript,Jquery,Extjs,我在extjs中有一个名为printscreent的按钮,点击该按钮我需要捕获页面的屏幕截图 我无法在这里找到如何映射关键事件。我是新来的extjs请给我一些建议 我尝试了windows.print(),它打开窗口打印屏幕内容,但我正在寻找简单的打印屏幕功能 var printScrenButton = new Ext.create('Ext.form.button',{ id:'printScrenButtonId', text:'Print Screen', widt

我在
extjs
中有一个名为
printscreent
的按钮,点击该按钮我需要捕获页面的屏幕截图

我无法在这里找到如何映射关键事件。我是新来的
extjs
请给我一些建议

我尝试了
windows.print()
,它打开窗口打印屏幕内容,但我正在寻找简单的打印屏幕功能

var printScrenButton = new Ext.create('Ext.form.button',{
    id:'printScrenButtonId',
    text:'Print Screen',
    width:50,
    handler: function() {

    }
});

有人能提出一些不可能的建议吗?比如说,可以看看(服务器端)或(客户端)之类的东西