我使用 egl 丰富的 ui。我有一个处理程序,我尝试在其中添加一个 iframe。我找到了一个代码示例,但这不起作用。下面的代码出了什么问题?
handler Test type RUIhandler{initialUI =[ui], onConstructionFunction = start, cssFile = "css/test.css", title = "Test"}
ui Div{padding = 10, children =[Box, BoxDataGrid, iframe]};
iframe Widget{tagName = "iframe", width = "500", height="100"};
function start()
iframe.setAttribute("src", "http://www.google.gr");
end
end