extjs5备忘

2015-07-24 06:10:31 · 作者: · 浏览: 1

Extjs5

1、 安装便携版的U盘appache服务器。然后进入rootdir,清空目录内容,放入自己的内容。

2、 Helloworld

Html:

Index.html如下:







Welcome to ExtJS!



<script type="text/java script"src="ext/build/ext-all.js">

<scripttype="text/java script"src="ext/trial/5.0.0/build/packages/ext-theme-neptune/build/ext-theme-neptune.js">



<script type="text/java script" src="app.js">







Js:

app.js内容如下:

Ext.application({

name : 'MyApp',



launch : function() {



Ext.create('Ext.Panel', {

renderTo : Ext.getBody(),

width : 200,

height : 150,

bodyPadding : 5,

title : 'Hello World',

html : 'Hello World...'

});



}

});

\