热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

ExtJS 面试题与答案

问题 11. What is use of Ext.onReady() function ?

Ext.onReady is probably the first method that you’ll use on every page. This method is automatically called once the DOM is fully loaded, guaranteeing that any page elements that you may want to reference will be available when the script runs.
syntax:
Ext.onReady(function() {
alert(“Congratulations! You have Ext configured correctly!”);
});

这有帮助吗? 添加评论 查看评论
 

问题 12. For example, to show our message when any paragraph in our test page is clicked, what is the ExtJS code on paragraph click?

Ext.onReady(function() {
Ext.select('p').on('click', function() {
alert("You clicked a paragraph");
});
});

or

Ext.onReady(function() {
var paragraphClicked = function() {
alert("You clicked a paragraph");
}
Ext.select('p').on('click', paragraphClicked);
});

这有帮助吗? 添加评论 查看评论
 

问题 13. List out the extjs library files to include in JSP page?

ext-base.js
ext-all-debug.js or ext-all.js
ext-all.css
base.css or examples.css

这有帮助吗? 添加评论 查看评论
 

问题 14. List out the css file required to apply Extjs Theme property?

xtheme-gray.css
ext-all.css

这有帮助吗? 添加评论 查看评论
 

问题 15. What is purpose of MessageBox?

MessageBox is asynchronous.
MessageBox call, which demonstrates the readable message to user.
MessageBox used for multiple purpose like
Ext.Msg.alert()
Ext.Msg.prompt()
Ext.Msg.show({});
Ext.Msg.wait();

这有帮助吗? 添加评论 查看评论
 

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。