它不起作用,有什么问题吗?
var win = new Ext.Window({
title: 'PDF Content',
width: 400,
height: 600,
maximizable: true,
layout: 'fit',
plain: true,
items: { // Let's put an empty grid in just to illustrate fit layout
xtype: 'component',
autoEl: {
tag: "iframe",
src: "../../../resources/august2013.pdf"
}
}
//items : [ {
// html: '<object width="100%" height="100%" data="../../../resources/august2013.pdf"></object>'
//} ]
})
win.show();
我在下面插入代码后得到的这个视图Deamon
!