在extjs中什么时候用{},什么时候用[]

Extjs属于js框架,而基础是js的语法。

在extjs中configs和properties之间有什么区别?

不同之处在于两者出现的时间,

config是创建时的参数,并非全部分配;

关于Extjs tree

给你看个简单的;

html文件如下:

<meta http-equiv="pragma" content="no-cache">

<meta http-equiv="cache-control" content="no-cache">

<meta http-equiv="expires" content="0">

<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">

<meta http-equiv="description" content="This is my page">

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

Tree

<body>

tree的js文件如下:

function tree()

{

var _title = "tree"; //标题。

var tson =

[

{

text : "中国",

id : "tson1",

leaf : false,

children :

[

{

text : "上海",

id : "tson11",

leaf : true

}

]

},

{

text : "韩国",

id : "tson2",

leaf : false,

children :

[

{

text : "首尔",

id : "tson21",

leaf : true

}

]

}

];

({

id : "root",

text : "亚洲",

children : tson

});

({

title : _title,

renderTo : "tree",

root : root,

animate : true,

lines : true,

width : 200

});

}

关键字: 什么时候 中国 文件 给你 亚洲

上一篇:康熙字典体试用体有无版权下一篇:外包设计公司都不注意版权吗

软件著作权说明书代写

一、《申请表》《说明书》《源代码》3个文档

二、300元/案子,3天内交付

三、电话/微信:139-9853-9835